Interface HtmlStampOptions

An options for stampHtml

Hierarchy

Properties

behindExistingContent?: boolean

Set to true for apply stamp behind the content. If the content is opaque, the stamp may be invisible.

Default

false
cssMediaType?: CssMediaType

Css media type. Enables Media="screen" CSS Styles and StyleSheets

Note: By setting Print, IronPdf renders Stamp from HTML using CSS for media="print" as if printing a web page in a browser print dialog. It renders exactly as per Google Chrome.

Default

{@link CssMediaType.Screen}</p>
horizontalAlignment: HorizontalAlignment

The horizontal alignment of the stamp relative to the page.

horizontalOffset?: Length

The horizontal offset. Value of 0 has no effect. Positive indicates an offset to the right direction. Negative indicates an offset to the left direction.

Default

{@link MeasurementUnit.Percentage} value 0 (no offset)
hyperlink?: string

Makes stamped elements of this Stamper have an on-click hyperlink. Note: HTML links created by <a href=''> tags are not reserved by stamping.

Default

undefined

maxHeight?: Length

The maximum height of the output stamp.

Default

undefined
maxWidth?: Length

The maximum width of the output stamp.

Default

undefined
minHeight?: Length

The minimum height of the output stamp.

Default

undefined
minWidth?: Length

The minimum width of the output stamp.

Default

undefined
opacity?: number

Gets opacity. Allows the stamp to be transparent. 0 is fully invisible, 100 if fully opaque.

Default

100
renderDelay?: number

Milliseconds to wait after Html is rendered before printing. This can use useful when considering the rendering of JavaScript, Ajax or animations.

Default

value for HtmlStamper is 100, The other Stamper is 0.
rotation?: number

Rotates the stamp clockwise from 0 to 360 degrees as specified.

Default

0
scale?: number

Applies a percentage scale to the stamps to be larger or smaller.

Default

100 (Percent) which has no effect.
timeout?: number

Render timeout in seconds

Default

60
verticalAlignment: VerticalAlignment

The vertical alignment of the stamp relative to the page.

verticalOffset?: Length

The horizontal offset. Value of 0 has no effect. Positive indicates an offset to the downward direction. Negative indicates an offset to the upward direction.

Default

{@link MeasurementUnit.Percentage} value 0 (no offset)

Generated using TypeDoc