Skip to main content
Version: Version 5 beta

Class: AnnotationRenderProperties

The AnnotationRenderProperties class encapsulates the rendering properties of a PDF annotation, providing a set of flags that control its rendering behaviors.

Constructors

new AnnotationRenderProperties()

new AnnotationRenderProperties(): AnnotationRenderProperties

Returns

AnnotationRenderProperties

Accessors

fixedRotation

get fixedRotation(): boolean

Specifies whether the annotation's appearance should remain fixed in orientation when the page is rotated.

set fixedRotation(fixedRotation): void

Parameters

fixedRotation: boolean

Returns

boolean


fixedZoom

get fixedZoom(): boolean

Indicates whether the annotation's appearance should remain fixed in scale when the page's magnification level is changed.

set fixedZoom(fixedZoom): void

Parameters

fixedZoom: boolean

Returns

boolean


renderToPrint

get renderToPrint(): boolean

Specifies whether the annotation should be printed when the page is printed, regardless of its visibility on the screen.

set renderToPrint(renderToPrint): void

Parameters

renderToPrint: boolean

Returns

boolean


renderToScreen

get renderToScreen(): boolean

If set to false, the annotation will not be displayed on the screen and interaction with the user will be disabled. The annotation may be printed (depending on the setting of the renderToPrint flag), but it should be considered hidden for purposes of onscreen display and user interaction.

set renderToScreen(renderToScreen): void

Parameters

renderToScreen: boolean

Returns

boolean