OptionallinkOptionalformSets whether form fields in the PDF document are highlighted.
OptionaldisplayDisplay mode of the PDF document, single page, double page, or book mode. Default: CPDFDisplayMode.SINGLE_PAGE
OptionalcontinueWhether PDF page flipping is continuous scrolling.
OptionalverticalWhether scrolling is in vertical direction.
true: Vertical scrolling, false: Horizontal scrolling.
Default: true
OptionalcropCropping mode. Whether to crop blank areas of PDF pages. Default: false
OptionalthemesTheme color. Default: CPDFThemes.LIGHT
OptionalenableWhether to display the sidebar quick scroll bar.
OptionalenableWhether to display the bottom page indicator.
OptionalpageSpacing between each page of the PDF, default 10px.
OptionalmarginsSets the outer margins for the PDF reading view.
index 0: margin leftindex 1: margin topindex 2: margin rightindex 3: margin bottomDefault: [0,0,0,0]
OptionalpagePage scale value, default 1.0.
Optionalpageonly android platform.
OptionalannotationsSets whether to display annotations in the PDF document.
OptionalenableIn content editing mode, when only text editing is selected, whether to enable creating a text input box by clicking the page area. Default value: true
OptionalenableIn content editing mode, when only image editing is selected, whether to enable creating an image picker dialog by clicking the page area. Default value: true
OptionalenableSets whether to enable double-tap zooming in the PDF document. Default value: true
OptionalaccessibilityAccessibility configuration for hardware keyboard navigation and TalkBack.
Since v3.0.0, this configuration is currently only effective on Android.
OptionaluiUI style customizations for various interactive elements in the reader view. Use this to customize colors, icons and border styles for selections, screenshots, form previews, cropping and other visual helpers.
Sets whether hyperlinks in the PDF document annotations are highlighted.