scrollDirection |
PDFConfiguration.ScrollDirection
|
<optional>
|
Configures the direction of page scrolling in the document view. |
pageTransition |
PDFConfiguration.PageTransition
|
<optional>
|
Configures the page scrolling mode. Note that curl mode is only available for iOS and will be ignored on Android. |
documentPassword |
string
|
<optional>
|
The password to unlock the document. |
enableTextSelection |
PDFConfiguration.BooleanType
|
<optional>
|
Allow / disallow text selection. |
autosaveEnabled |
PDFConfiguration.BooleanType
|
<optional>
|
Determines whether PSPDFKit should save automatically in response to [certain UI triggers][], such as the app entering the background or the view disappearing. |
disableAutomaticSaving |
PDFConfiguration.BooleanType
|
<optional>
|
Determines whether PSPDFKit should save automatically in response to certain UI triggers, such as the app entering the background or the view disappearing. |
signatureSavingStrategy |
PDFConfiguration.SignatureSavingStrategy
|
<optional>
|
Determines whether signatures should be saved after creation. |
iOSShouldScrollToChangedPage |
PDFConfiguration.BooleanType
|
<optional>
|
Scrolls to the affected page during an undo / redo operation. |
iOSFormElementZoomEnabled |
PDFConfiguration.BooleanType
|
<optional>
|
Option to automatically focus on selected form elements. |
iOSImageSelectionEnabled |
PDFConfiguration.BooleanType
|
<optional>
|
Allow / disallow image selection. |
iOSTextSelectionShouldSnapToWord |
PDFConfiguration.BooleanType
|
<optional>
|
Configure if text selection should snap to words. |
iOSFreeTextAccessoryViewEnabled |
PDFConfiguration.BooleanType
|
<optional>
|
Shows a toolbar with text editing options above the keyboard while editing free text annotations. |
iOSInternalTapGesturesEnabled |
PDFConfiguration.BooleanType
|
<optional>
|
Enable / disable all internal gesture recognizers. |
iOSAllowBackgroundSaving |
PDFConfiguration.BooleanType
|
<optional>
|
Determines whether automatic saving should happen on a background thread. |
iOSMinimumZoomScale |
number
|
<optional>
|
Minimum zoom scale for the scroll view. |
iOSMaximumZoomScale |
number
|
<optional>
|
Maximum zoom scale for the scroll view. |
iOSDoubleTapAction |
PDFConfiguration.IOSDoubleTapAction
|
<optional>
|
The action that happens when the user double taps somewhere in the document. |
iOSTypesShowingColorPresets |
Array.<PDFConfiguration.IOSTypesShowingColorPresets>
|
<optional>
|
Shows a custom cell with configurable color presets for the provided annotation types. |
pageMode |
PDFConfiguration.PageMode
|
<optional>
|
The document PageMode. |
firstPageAlwaysSingle |
PDFConfiguration.BooleanType
|
<optional>
|
Option to show the first page separately. |
showPageLabels |
PDFConfiguration.BooleanType
|
<optional>
|
Displays the current page number. |
documentLabelEnabled |
PDFConfiguration.BooleanType
|
<optional>
|
Shows an overlay displaying the document name. |
spreadFitting |
PDFConfiguration.SpreadFitting
|
<optional>
|
Controls the page fitting mode. adaptive mode only works on iOS and has no effect on Android. |
invertColors |
PDFConfiguration.BooleanType
|
<optional>
|
Inverts the document color if true . |
androidGrayScale |
PDFConfiguration.BooleanType
|
<optional>
|
Converts the document colors to grayscale. |
iOSClipToPageBoundaries |
PDFConfiguration.BooleanType
|
<optional>
|
Option to clip content to page boundaries. |
iOSBackgroundColor |
any
|
<optional>
|
Background color behind the page view. |
iOSRenderAnimationEnabled |
PDFConfiguration.BooleanType
|
<optional>
|
Shows a UIActivityIndicatorView in the top-right corner while the page is rendering. |
iOSRenderStatusViewPosition |
PDFConfiguration.IOSRenderStatusViewPosition
|
<optional>
|
Position of the render status view. |
iOSAllowedAppearanceModes |
PDFConfiguration.IOSAllowedAppearanceModes
|
<optional>
|
Allowed appearance modes for BrightnessViewController . |
userInterfaceViewMode |
PDFConfiguration.UserInterfaceViewMode
|
<optional>
|
Configures the user interface visibility. |
inlineSearch |
PDFConfiguration.BooleanType
|
<optional>
|
Sets the type of search bar to be inline or modular. |
immersiveMode |
PDFConfiguration.BooleanType
|
<optional>
|
Hides the user interface if set to true . |
toolbarTitle |
string
|
<optional>
|
Sets the title of the toolbar. Note: For iOS, you need to set documentLabelEnabled , iOSUseParentNavigationBar , and iOSAllowToolbarTitleChange to false in your configuration before setting the custom title. |
androidShowSearchAction |
PDFConfiguration.BooleanType
|
<optional>
|
Enables / disables document search functionality. |
androidShowOutlineAction |
PDFConfiguration.BooleanType
|
<optional>
|
Enables an outline menu in the activity. |
androidShowBookmarksAction |
PDFConfiguration.BooleanType
|
<optional>
|
Enables the display of bookmarks. |
androidShowShareAction |
PDFConfiguration.BooleanType
|
<optional>
|
Enables the display of share features. |
androidShowPrintAction |
PDFConfiguration.BooleanType
|
<optional>
|
Enables the printing option in the menu (if applicable) for the document and the device. |
androidShowDocumentInfoView |
PDFConfiguration.BooleanType
|
<optional>
|
Enables the display of document information. |
androidShowSettingsMenu |
PDFConfiguration.BooleanType
|
<optional>
|
Enables the display of the settings menu. |
iOSShouldHideUserInterfaceOnPageChange |
PDFConfiguration.BooleanType
|
<optional>
|
Option to hide / show the user interface when changing pages. |
iOSShouldShowUserInterfaceOnViewWillAppear |
PDFConfiguration.BooleanType
|
<optional>
|
Option to hide / show the user interface when the page appears. |
iOSShouldHideStatusBarWithUserInterface |
PDFConfiguration.BooleanType
|
<optional>
|
Option to hide / show the status bar with the user interface. |
iOSShouldHideNavigationBarWithUserInterface |
PDFConfiguration.BooleanType
|
<optional>
|
Option to hide / show the navigation bar with the user interface. |
iOSSearchMode |
PDFConfiguration.IOSSearchMode
|
<optional>
|
Sets the type of search bar to be inline or modal. |
iOSScrollOnEdgeTapEnabled |
PDFConfiguration.BooleanType
|
<optional>
|
Determines whether tapping on leading / trailing edges of the document view should trigger changing to the previous / next page. |
iOSScrollOnEdgeTapMargin |
number
|
<optional>
|
The margin in points from the view’s sides in which tapping should trigger scrolling to the previous / next page. |
iOSUseParentNavigationBar |
PDFConfiguration.BooleanType
|
<optional>
|
Set this to true to allow this controller to access the parent navigationBar / navigationController to add custom buttons. |
iOSAllowToolbarTitleChange |
PDFConfiguration.BooleanType
|
<optional>
|
Allow PSPDFKit to change the title of this view controller. |
iOSShouldHideStatusBar |
PDFConfiguration.BooleanType
|
<optional>
|
If true , the status bar will always remain hidden (regardless of the shouldHideStatusBarWithUserInterface setting). |
iOSShowBackActionButton |
PDFConfiguration.BooleanType
|
<optional>
|
Shows a floating back button in the lower part of the screen. |
iOSShowForwardActionButton |
PDFConfiguration.BooleanType
|
<optional>
|
Shows a floating forward button in the lower part of the screen. |
iOSShowBackForwardActionButtonLabels |
PDFConfiguration.BooleanType
|
<optional>
|
Adds text labels representing the destination name to the back and forward buttons. |
iOSSearchResultZoomScale |
number
|
<optional>
|
Increase this to zoom to the search result. |
iOSAdditionalScrollViewFrameInsets |
any
|
<optional>
|
Additional insets to apply to the document scroll view's frame. |
iOSAdditionalContentInsets |
any
|
<optional>
|
Additional insets to apply to the layout's content. |
iOSAllowedMenuActions |
PDFConfiguration.IOSAllowedMenuActions
|
<optional>
|
May be used to customize other displayed menu actions when text is selected. |
iOSSettingsOptions |
Array.<PDFConfiguration.IOSSettingsOptions>
|
<optional>
|
Options that will be presented by PDFSettingsViewController . Defaults to .default . |
iOSShadowEnabled |
PDFConfiguration.BooleanType
|
<optional>
|
Enable / disable page shadow. |
iOSShadowOpacity |
number
|
<optional>
|
Set the default shadowOpacity . |
showThumbnailBar |
PDFConfiguration.ShowThumbnailBar
|
<optional>
|
Thumbnail bar mode controls the display of page thumbnails viewing a document. |
androidShowThumbnailGridAction |
PDFConfiguration.BooleanType
|
<optional>
|
Displays an action bar icon to show a grid of thumbnail pages. |
iOSScrubberBarType |
PDFConfiguration.IOSScrubberBarType
|
<optional>
|
Controls the placement of the scrubber bar. |
iOSThumbnailGrouping |
PDFConfiguration.IOSThumbnailGrouping
|
<optional>
|
Option to set the grouping of thumbnails. |
iOSThumbnailSize |
any
|
<optional>
|
Configure the size of the thumbnail. |
iOSThumbnailInteritemSpacing |
number
|
<optional>
|
Configure the spacing between thumbnails. |
iOSThumbnailLineSpacing |
number
|
<optional>
|
Configure the line spacing of thumbnails. |
iOSThumbnailMargin |
any
|
<optional>
|
Configure the margin for thumbnails. |
iOSShouldCacheThumbnails |
PDFConfiguration.BooleanType
|
<optional>
|
Option to enable / disable thumbnail caching. |
editableAnnotationTypes |
Array.<PDFConfiguration.EditableAnnotationTypes>
|
<optional>
|
Set containing the annotation types that should be editable. |
enableAnnotationEditing |
PDFConfiguration.BooleanType
|
<optional>
|
Configuration to enable / disable editing all annotations. To selectively enable editing for specific types of annotations, use editableAnnotationTypes . |
enableFormEditing |
PDFConfiguration.BooleanType
|
<optional>
|
Enable / disable editing forms. This can also be accomplished by adding or removing the Widget annotation type from editableAnnotationTypes . |
androidShowAnnotationListAction |
PDFConfiguration.BooleanType
|
<optional>
|
Enables the list of annotations. |
iOSShouldAskForAnnotationUsername |
PDFConfiguration.BooleanType
|
<optional>
|
If true , asks the user to specify a custom annotation user name ("author") when creating a new annotation. |
iOSLinkAction |
PDFConfiguration.IOSLinkAction
|
<optional>
|
Sets the default link action for pressing on a LinkAnnotation . |
iOSDrawCreateMode |
PDFConfiguration.IOSDrawCreateMode
|
<optional>
|
Determines whether new annotations are created when strokes end. |
iOSAnnotationGroupingEnabled |
PDFConfiguration.BooleanType
|
<optional>
|
If set to true , you can group / ungroup annotations with the multi-select tool. |
iOSNaturalDrawingAnnotationEnabled |
PDFConfiguration.BooleanType
|
<optional>
|
Enables natural drawing for ink annotations. |
iOSNaturalSignatureDrawingEnabled |
PDFConfiguration.BooleanType
|
<optional>
|
Enables natural drawing for signatures. |
iOSAnnotationEntersEditModeAfterSecondTapEnabled |
PDFConfiguration.BooleanType
|
<optional>
|
Controls if a second tap to an annotation that allows inline editing enters edit mode. |
iOSCreateAnnotationMenuEnabled |
PDFConfiguration.BooleanType
|
<optional>
|
If set to true , a long tap that ends on a page area that isn’t a text / image will show a new menu to create annotations. |
iOSAnnotationAnimationDuration |
number
|
<optional>
|
Overlay annotations are faded in. Set the global duration for this fade here. |
iOSSoundAnnotationTimeLimit |
number
|
<optional>
|
Describes the time limit for recording sound annotations, in seconds. |
iOSBookmarkSortOrder |
PDFConfiguration.IOSBookmarkSortOrder
|
<optional>
|
Controls how bookmarks are displayed and managed. |
enableInstantComments |
PDFConfiguration.BooleanType
|
<optional>
|
Enable Instant comments. |
listenToServerChanges |
PDFConfiguration.BooleanType
|
<optional>
|
Listen for server changes automatically. |
delay |
number
|
<optional>
|
The delay before syncing with the Instant server. |
syncAnnotations |
PDFConfiguration.BooleanType
|
<optional>
|
Indicates whether document annotations should be synced with the Instant server. |
measurementValueConfigurations |
Array.<Measurements.MeasurementValueConfiguration>
|
<optional>
|
The array of MeasurementValueConfiguration objects that should be applied to the document. |
remoteDocumentConfiguration |
PDFConfiguration.RemoteDocumentConfiguration
|
<optional>
|
The configuration when downloading a document from a remote URL. |