Configures which part of the annotation replies UI is enabled.
If ENABLED, the replies can be added to note annotations and annotation notes.
If READ_ONLY, the replies can be looked at but none can be added or modified.
If DISABLED, the reply UI is disabled entirely.
This feature is only UI specific, defining the replies availability in the PdfFragment's
UI. The API for retrieving and adding replies still works even if this property is DISABLED.

Parameters

Enables or disables redo support. If true we will allow the user to redo changes
that were undone before.
If false the user will not be able to redo edits.
If undo is disabled setting this to true will not do anything.

Parameters

Enables or disables restoration of the last viewed page when reopening a document. If true, the last viewed page will be restored when
opening the document a second time. If false, the document will be opened at page index 0. Defaults to true.

Parameters

restoreLastViewedPage

true to enable restoration of the last viewed page, or false to disable it.

Configures which share features are enabled in the UI.
This feature is only UI specific, defining the available sharing features in the PdfFragment.
The sharing API still works even if a specific share feature is disabled.

Parameters

Sets the number of pixels in low resolution renderings to a fixed size. By default, the size (i.e. the resolution) of low-res page
renderings inside the PdfFragment will be set to an optimized pixel count, based on the device specs and performance.
Using this method, you can override the default and set it to a fixed value.

Parameters

Sets guide line on/off intervals sizes. Must have an even number of entries (>=2). Even indices are specifying
the "on" intervals, the odd indices specifying the "off" intervals. "On" intervals specify length of the line dashes,
"Off" specify length of the line gaps. Defaults to [5f, 20f].

Defines the appearance of the digital signature that is added after digitally signing a document.
Things to configure include the graphic to use for the signature or whether the time of signing should be shown.
For the full list of properties check SignatureAppearance.

Parameters

signatureAppearance

The signature appearance to use or null to use the default appearance.

Parameters

Enables or disables undo support. If true we will keep track of edits to the document
and allow the user to undo actions.
If false the user will not be able to undo edits and redo will also be disabled.