> For the complete documentation index, see [llms.txt](https://apryse.gitbook.io/api-markdown-test/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://apryse.gitbook.io/api-markdown-test/api-docs/ios/classes/ptpdfviewctrl.md).

# PTPDFViewCtrl

[PDFTron iOS Docs](https://github.com/XodoDocs/apryse-gitbook/tree/test-apidocs-clean/apimd/ios/ios/index.md)

[PDFTron iOS Reference](https://github.com/XodoDocs/apryse-gitbook/tree/test-apidocs-clean/apimd/ios/ios/index.md) PTPDFViewCtrl Class Reference

* [Viewer Controls](/api-markdown-test/api-docs/ios/general/viewer-controls.md)
  * [PTDocumentController](/api-markdown-test/api-docs/ios/classes/ptdocumentcontroller.md)
  * [PTDocumentViewController](/api-markdown-test/api-docs/ios/classes/ptdocumentviewcontroller.md)
  * [PTTabbedDocumentViewController](/api-markdown-test/api-docs/ios/classes/pttabbeddocumentviewcontroller.md)
* [Common Protocols](/api-markdown-test/api-docs/ios/general/common-protocols.md)
  * [PTPDFViewCtrlDelegate](/api-markdown-test/api-docs/ios/protocols/ptpdfviewctrldelegate.md)
  * [PTPDFViewCtrlToolDelegate](/api-markdown-test/api-docs/ios/protocols/ptpdfviewctrltooldelegate.md)
  * [PTDocumentControllerDelegate](/api-markdown-test/api-docs/ios/protocols/ptdocumentcontrollerdelegate.md)
* [Common Classes](/api-markdown-test/api-docs/ios/general/common-classes.md)
  * [PTPDFDoc](/api-markdown-test/api-docs/ios/classes/ptpdfdoc.md)
  * [PTPDFDraw](/api-markdown-test/api-docs/ios/classes/ptpdfdraw.md)
  * [PTPDFNet](/api-markdown-test/api-docs/ios/classes/ptpdfnet.md)
  * [PTPDFViewCtrl](/api-markdown-test/api-docs/ios/classes/ptpdfviewctrl.md)
* [PDF Interaction Tools](/api-markdown-test/api-docs/ios/general/pdf-interaction-tools.md)
  * [PTAnnotEditTool](/api-markdown-test/api-docs/ios/classes/ptannotedittool.md)
  * [PTAnnotSelectTool](/api-markdown-test/api-docs/ios/classes/ptannotselecttool.md)
  * [PTArrowCreate](/api-markdown-test/api-docs/ios/classes/ptarrowcreate.md)
  * [PTCalloutCreate](/api-markdown-test/api-docs/ios/classes/ptcalloutcreate.md)
  * [PTCloudCreate](/api-markdown-test/api-docs/ios/classes/ptcloudcreate.md)
  * [PTDigitalSignatureTool](/api-markdown-test/api-docs/ios/classes/ptdigitalsignaturetool.md)
  * [PTEllipseCreate](/api-markdown-test/api-docs/ios/classes/ptellipsecreate.md)
  * [PTEraser](/api-markdown-test/api-docs/ios/classes/pteraser.md)
  * [PTFormFillTool](/api-markdown-test/api-docs/ios/classes/ptformfilltool.md)
  * [PTFreeHandCreate](/api-markdown-test/api-docs/ios/classes/ptfreehandcreate.md)
  * [PTFreeHandHighlightCreate](/api-markdown-test/api-docs/ios/classes/ptfreehandhighlightcreate.md)
  * [PTFreeTextCreate](/api-markdown-test/api-docs/ios/classes/ptfreetextcreate.md)
  * [PTLineCreate](/api-markdown-test/api-docs/ios/classes/ptlinecreate.md)
  * [PTPanTool](/api-markdown-test/api-docs/ios/classes/ptpantool.md)
  * [PTPencilDrawingCreate](/api-markdown-test/api-docs/ios/classes/ptpencildrawingcreate.md)
  * [PTPolygonCreate](/api-markdown-test/api-docs/ios/classes/ptpolygoncreate.md)
  * [PTPolylineCreate](/api-markdown-test/api-docs/ios/classes/ptpolylinecreate.md)
  * [PTPolylineEditTool](/api-markdown-test/api-docs/ios/classes/ptpolylineedittool.md)
  * [PTRectangleCreate](/api-markdown-test/api-docs/ios/classes/ptrectanglecreate.md)
  * [PTRichMediaTool](/api-markdown-test/api-docs/ios/classes/ptrichmediatool.md)
  * [PTRubberStampCreate](/api-markdown-test/api-docs/ios/classes/ptrubberstampcreate.md)
  * [PTStickyNoteCreate](/api-markdown-test/api-docs/ios/classes/ptstickynotecreate.md)
  * [PTTextHighlightCreate](/api-markdown-test/api-docs/ios/classes/pttexthighlightcreate.md)
  * [PTTextSelectTool](/api-markdown-test/api-docs/ios/classes/pttextselecttool.md)
  * [PTTextSquigglyCreate](/api-markdown-test/api-docs/ios/classes/pttextsquigglycreate.md)
  * [PTTextStrikeoutCreate](/api-markdown-test/api-docs/ios/classes/pttextstrikeoutcreate.md)
  * [PTTextUnderlineCreate](/api-markdown-test/api-docs/ios/classes/pttextunderlinecreate.md)
* [UI Controls](/api-markdown-test/api-docs/ios/general/ui-controls.md)
  * [PTAddPagesViewController](/api-markdown-test/api-docs/ios/classes/ptaddpagesviewcontroller.md)
  * [PTAnnotationToolbar](/api-markdown-test/api-docs/ios/classes/ptannotationtoolbar.md)
  * [PTAnnotationViewController](/api-markdown-test/api-docs/ios/classes/ptannotationviewcontroller.md)
  * [PTAnnotStyleViewController](/api-markdown-test/api-docs/ios/classes/ptannotstyleviewcontroller.md)
  * [PTBookmarkViewController](/api-markdown-test/api-docs/ios/classes/ptbookmarkviewcontroller.md)
  * [PTColorPickerViewController](/api-markdown-test/api-docs/ios/classes/ptcolorpickerviewcontroller.md)
  * [PTFindTextToolbar](/api-markdown-test/api-docs/ios/classes/ptfindtexttoolbar.md)
  * [PTOutlineViewController](/api-markdown-test/api-docs/ios/classes/ptoutlineviewcontroller.md)
  * [PTNavigationListsViewController](/api-markdown-test/api-docs/ios/classes/ptnavigationlistsviewcontroller.md)
  * [PTPageIndicatorViewController](/api-markdown-test/api-docs/ios/classes/ptpageindicatorviewcontroller.md)
  * [PTReflowViewController](/api-markdown-test/api-docs/ios/classes/ptreflowviewcontroller.md)
  * [PTRubberStampViewController](/api-markdown-test/api-docs/ios/classes/ptrubberstampviewcontroller.md)
  * [PTSavedSignaturesViewController](/api-markdown-test/api-docs/ios/classes/ptsavedsignaturesviewcontroller.md)
  * [PTSettingsViewController](/api-markdown-test/api-docs/ios/classes/ptsettingsviewcontroller.md)
  * [PTTextSearchViewController](/api-markdown-test/api-docs/ios/classes/pttextsearchviewcontroller.md)
  * [PTThumbnailSliderViewController](/api-markdown-test/api-docs/ios/classes/ptthumbnailsliderviewcontroller.md)
  * [PTThumbnailsViewController](/api-markdown-test/api-docs/ios/classes/ptthumbnailsviewcontroller.md)
  * [PTToolsSettingsViewController](/api-markdown-test/api-docs/ios/classes/pttoolssettingsviewcontroller.md)
* [Annotation Classes](/api-markdown-test/api-docs/ios/general/annotation-classes.md)
  * [PTAnnot](/api-markdown-test/api-docs/ios/classes/ptannot.md)
  * [PTCaret](/api-markdown-test/api-docs/ios/classes/ptcaret.md)
  * [PTCircle](/api-markdown-test/api-docs/ios/classes/ptcircle.md)
  * [PTFileAttachment](/api-markdown-test/api-docs/ios/classes/ptfileattachment.md)
  * [PTFreeText](/api-markdown-test/api-docs/ios/classes/ptfreetext.md)
  * [PTHighlightAnnot](/api-markdown-test/api-docs/ios/classes/pthighlightannot.md)
  * [PTInk](/api-markdown-test/api-docs/ios/classes/ptink.md)
  * [PTLineAnnot](/api-markdown-test/api-docs/ios/classes/ptlineannot.md)
  * [PTLink](/api-markdown-test/api-docs/ios/classes/ptlink.md)
  * [PTMarkup](/api-markdown-test/api-docs/ios/classes/ptmarkup.md)
  * [PTMovie](/api-markdown-test/api-docs/ios/classes/ptmovie.md)
  * [PTPolygon](/api-markdown-test/api-docs/ios/classes/ptpolygon.md)
  * [PTPolyLine](/api-markdown-test/api-docs/ios/classes/ptpolyline.md)
  * [PTPopup](/api-markdown-test/api-docs/ios/classes/ptpopup.md)
  * [PTRedactionAnnot](/api-markdown-test/api-docs/ios/classes/ptredactionannot.md)
  * [PTRubberStamp](/api-markdown-test/api-docs/ios/classes/ptrubberstamp.md)
  * [PTScreen](/api-markdown-test/api-docs/ios/classes/ptscreen.md)
  * [PTSound](/api-markdown-test/api-docs/ios/classes/ptsound.md)
  * [PTSquare](/api-markdown-test/api-docs/ios/classes/ptsquare.md)
  * [PTSquiggly](/api-markdown-test/api-docs/ios/classes/ptsquiggly.md)
  * [PTStrikeOut](/api-markdown-test/api-docs/ios/classes/ptstrikeout.md)
  * [PTText](/api-markdown-test/api-docs/ios/classes/pttext.md)
  * [PTTextMarkup](/api-markdown-test/api-docs/ios/classes/pttextmarkup.md)
  * [PTUnderline](/api-markdown-test/api-docs/ios/classes/ptunderline.md)
  * [PTWatermark](/api-markdown-test/api-docs/ios/classes/ptwatermark.md)
  * [PTWidget](/api-markdown-test/api-docs/ios/classes/ptwidget.md)
* [Annotation Enumerations](/api-markdown-test/api-docs/ios/general/annotation-enumerations.md)
  * [PTAnnotType](/api-markdown-test/api-docs/ios/enums/ptannottype.md)
  * [PTBorderEffect](/api-markdown-test/api-docs/ios/enums/ptbordereffect.md)
  * [PTCapPos](/api-markdown-test/api-docs/ios/enums/ptcappos.md)
  * [PTEndingStyle](/api-markdown-test/api-docs/ios/enums/ptendingstyle.md)
  * [PTFileIcon](/api-markdown-test/api-docs/ios/enums/ptfileicon.md)
  * [PTIntentName](/api-markdown-test/api-docs/ios/enums/ptintentname.md)
  * [PTLineIntentType](/api-markdown-test/api-docs/ios/enums/ptlineintenttype.md)
  * [PTLinkHighlightingMode](/api-markdown-test/api-docs/ios/enums/ptlinkhighlightingmode.md)
  * [PTPolyLineIntentType](/api-markdown-test/api-docs/ios/enums/ptpolylineintenttype.md)
  * [PTQuadForm](/api-markdown-test/api-docs/ios/enums/ptquadform.md)
  * [PTRubberStampIcon](/api-markdown-test/api-docs/ios/enums/ptrubberstampicon.md)
  * [PTScreenIconCaptionRelation](/api-markdown-test/api-docs/ios/enums/ptscreeniconcaptionrelation.md)
  * [PTScreenScaleCondition](/api-markdown-test/api-docs/ios/enums/ptscreenscalecondition.md)
  * [PTScreenScaleType](/api-markdown-test/api-docs/ios/enums/ptscreenscaletype.md)
  * [PTSoundIcon](/api-markdown-test/api-docs/ios/enums/ptsoundicon.md)
  * [PTTextIcon](/api-markdown-test/api-docs/ios/enums/pttexticon.md)
  * [PTWidgetHighlightingMode](/api-markdown-test/api-docs/ios/enums/ptwidgethighlightingmode.md)
  * [PTWidgetIconCaptionRelation](/api-markdown-test/api-docs/ios/enums/ptwidgeticoncaptionrelation.md)
  * [PTWidgetScaleCondition](/api-markdown-test/api-docs/ios/enums/ptwidgetscalecondition.md)
  * [PTWidgetScaleType](/api-markdown-test/api-docs/ios/enums/ptwidgetscaletype.md)
* [Helper and Abstract Classes](/api-markdown-test/api-docs/ios/general/helper-and-abstract-classes.md)
  * [PTAddPagesManager](/api-markdown-test/api-docs/ios/classes/ptaddpagesmanager.md)
  * [PTAnalyticsHandlerAdapter](/api-markdown-test/api-docs/ios/classes/ptanalyticshandleradapter.md)
  * [PTAnnotationOptions](/api-markdown-test/api-docs/ios/classes/ptannotationoptions.md)
  * [PTAnnotationPasteboard](/api-markdown-test/api-docs/ios/classes/ptannotationpasteboard.md)
  * [PTAnnotStyle](/api-markdown-test/api-docs/ios/classes/ptannotstyle.md)
  * [PTBookmarkUtils](/api-markdown-test/api-docs/ios/classes/ptbookmarkutils.md)
  * [PTChoiceFormViewController](/api-markdown-test/api-docs/ios/classes/ptchoiceformviewcontroller.md)
  * [PTColorDefaults](/api-markdown-test/api-docs/ios/classes/ptcolordefaults.md)
  * [PTCoordinatedDocument](/api-markdown-test/api-docs/ios/classes/ptcoordinateddocument.md)
  * [PTCreateToolBase](/api-markdown-test/api-docs/ios/classes/ptcreatetoolbase.md)
  * [PTDigSigView](/api-markdown-test/api-docs/ios/classes/ptdigsigview.md)
  * [PTDigSigViewController](/api-markdown-test/api-docs/ios/classes/ptdigsigviewcontroller.md)
  * [PTEditToolbar](/api-markdown-test/api-docs/ios/classes/ptedittoolbar.md)
  * [PTFloatingSigViewController](/api-markdown-test/api-docs/ios/classes/ptfloatingsigviewcontroller.md)
  * [PTHalfModalPresentationManager](/api-markdown-test/api-docs/ios/classes/pthalfmodalpresentationmanager.md)
  * [PTImageCropTool](/api-markdown-test/api-docs/ios/classes/ptimagecroptool.md)
  * [PTNoteEditController](/api-markdown-test/api-docs/ios/classes/ptnoteeditcontroller.md)
  * [PTOverrides](/api-markdown-test/api-docs/ios/classes/ptoverrides.md)
  * [PTToolsUtil](/api-markdown-test/api-docs/ios/classes/pttoolsutil.md)
  * [PTResizeWidgetView](/api-markdown-test/api-docs/ios/classes/ptresizewidgetview.md)
  * [PTRubberStampManager](/api-markdown-test/api-docs/ios/classes/ptrubberstampmanager.md)
  * [PTSelectionBar](/api-markdown-test/api-docs/ios/classes/ptselectionbar.md)
  * [PTSelectionRectContainerView](/api-markdown-test/api-docs/ios/classes/ptselectionrectcontainerview.md)
  * [PTSelectionRectView](/api-markdown-test/api-docs/ios/classes/ptselectionrectview.md)
  * [PTThumbnailViewCell](/api-markdown-test/api-docs/ios/classes/ptthumbnailviewcell.md)
  * [PTThumbnailViewLayout](/api-markdown-test/api-docs/ios/classes/ptthumbnailviewlayout.md)
  * [PTTool](/api-markdown-test/api-docs/ios/classes/pttool.md)
  * [PTToolGroupManager](/api-markdown-test/api-docs/ios/classes/pttoolgroupmanager.md)
  * [PTToolManager](/api-markdown-test/api-docs/ios/classes/pttoolmanager.md)
  * [PTSignaturesManager](/api-markdown-test/api-docs/ios/classes/ptsignaturesmanager.md)
  * [PTStampManager](/api-markdown-test/api-docs/ios/classes/ptstampmanager.md)
  * [PTTextMarkupCreate](/api-markdown-test/api-docs/ios/classes/pttextmarkupcreate.md)
  * [PTTextMarkupEditTool](/api-markdown-test/api-docs/ios/classes/pttextmarkupedittool.md)
  * [PTMagnifierView](/api-markdown-test/api-docs/ios/classes/ptmagnifierview.md)
  * [PTUserBookmark](/api-markdown-test/api-docs/ios/classes/ptuserbookmark.md)
* [Text Search Classes](/api-markdown-test/api-docs/ios/general/text-search-classes.md)
  * [PTTextSearch](/api-markdown-test/api-docs/ios/classes/pttextsearch.md)
  * [PTSearchResult](/api-markdown-test/api-docs/ios/classes/ptsearchresult.md)
  * [PTTextSearchModes](/api-markdown-test/api-docs/ios/enums/pttextsearchmodes.md)
* [Field Classes](/api-markdown-test/api-docs/ios/general/field-classes.md)
  * [PTField](/api-markdown-test/api-docs/ios/classes/ptfield.md)
  * [PTFieldIterator](/api-markdown-test/api-docs/ios/classes/ptfielditerator.md)
* [Field Enumerations](/api-markdown-test/api-docs/ios/general/field-enumerations.md)
  * [PTFieldActionTriggerEvent](/api-markdown-test/api-docs/ios/enums/ptfieldactiontriggerevent.md)
  * [PTFieldFlag](/api-markdown-test/api-docs/ios/enums/ptfieldflag.md)
  * [PTFieldType](/api-markdown-test/api-docs/ios/enums/ptfieldtype.md)
* [Conversion Classes](/api-markdown-test/api-docs/ios/general/conversion-classes.md)
  * [PTConvert](/api-markdown-test/api-docs/ios/classes/ptconvert.md)
  * [PTDocumentConversion](/api-markdown-test/api-docs/ios/classes/ptdocumentconversion.md)
  * [PTEPUBOutputOptions](/api-markdown-test/api-docs/ios/classes/ptepuboutputoptions.md)
  * [PTHTMLOutputOptions](/api-markdown-test/api-docs/ios/classes/pthtmloutputoptions.md)
  * [PTSVGOutputOptions](/api-markdown-test/api-docs/ios/classes/ptsvgoutputoptions.md)
  * [PTTiffOutputOptions](/api-markdown-test/api-docs/ios/classes/pttiffoutputoptions.md)
  * [PTWordToPDFOptions](/api-markdown-test/api-docs/ios/classes/ptwordtopdfoptions.md)
  * [PTXODOutputOptions](/api-markdown-test/api-docs/ios/classes/ptxodoutputoptions.md)
  * [PTXPSOutputCommonOptions](/api-markdown-test/api-docs/ios/classes/ptxpsoutputcommonoptions.md)
  * [PTXPSOutputOptions](/api-markdown-test/api-docs/ios/classes/ptxpsoutputoptions.md)
* [FDF Classes](/api-markdown-test/api-docs/ios/general/fdf-classes.md)
  * [PTFDFDoc](/api-markdown-test/api-docs/ios/classes/ptfdfdoc.md)
  * [PTFDFField](/api-markdown-test/api-docs/ios/classes/ptfdffield.md)
  * [PTFDFFieldIterator](/api-markdown-test/api-docs/ios/classes/ptfdffielditerator.md)
* [Filter Classes](/api-markdown-test/api-docs/ios/general/filter-classes.md)
  * [PTASCII85Encode](/api-markdown-test/api-docs/ios/classes/ptascii85encode.md)
  * [PTFilter](/api-markdown-test/api-docs/ios/classes/ptfilter.md)
  * [PTFilterReader](/api-markdown-test/api-docs/ios/classes/ptfilterreader.md)
  * [PTFilterWriter](/api-markdown-test/api-docs/ios/classes/ptfilterwriter.md)
  * [PTFlateEncode](/api-markdown-test/api-docs/ios/classes/ptflateencode.md)
  * [PTMappedFile](/api-markdown-test/api-docs/ios/classes/ptmappedfile.md)
* [OCG Classes](/api-markdown-test/api-docs/ios/general/ocg-classes.md)
  * [PTConfig](/api-markdown-test/api-docs/ios/classes/ptconfig.md)
  * [PTContext](/api-markdown-test/api-docs/ios/classes/ptcontext.md)
  * [PTGroup](/api-markdown-test/api-docs/ios/classes/ptgroup.md)
  * [PTOCMD](/api-markdown-test/api-docs/ios/classes/ptocmd.md)
* [OCG Enumerations](/api-markdown-test/api-docs/ios/general/ocg-enumerations.md)
  * [PTOCDrawMode](/api-markdown-test/api-docs/ios/enums/ptocdrawmode.md)
  * [PTVisibilityPolicyType](/api-markdown-test/api-docs/ios/enums/ptvisibilitypolicytype.md)
* [PDFA Classes](/api-markdown-test/api-docs/ios/general/pdfa-classes.md)
  * [PTPDFACompliance](/api-markdown-test/api-docs/ios/classes/ptpdfacompliance.md)
* [PDFA Enumerations](/api-markdown-test/api-docs/ios/general/pdfa-enumerations.md)
  * [PTConformance](/api-markdown-test/api-docs/ios/enums/ptconformance.md)
  * [PTErrorCode](/api-markdown-test/api-docs/ios/enums/pterrorcode.md)
* [Structure Classes](/api-markdown-test/api-docs/ios/general/structure-classes.md)
  * [PTAttrObj](/api-markdown-test/api-docs/ios/classes/ptattrobj.md)
  * [PTClassMap](/api-markdown-test/api-docs/ios/classes/ptclassmap.md)
  * [PTContentItem](/api-markdown-test/api-docs/ios/classes/ptcontentitem.md)
  * [PTRoleMap](/api-markdown-test/api-docs/ios/classes/ptrolemap.md)
  * [PTSElement](/api-markdown-test/api-docs/ios/classes/ptselement.md)
  * [PTSTree](/api-markdown-test/api-docs/ios/classes/ptstree.md)
* [Structure Enumerations](/api-markdown-test/api-docs/ios/general/structure-enumerations.md)
  * [PTContentItemType](/api-markdown-test/api-docs/ios/enums/ptcontentitemtype.md)
* [SDF Classes](/api-markdown-test/api-docs/ios/general/sdf-classes.md)
  * [PTDictIterator](/api-markdown-test/api-docs/ios/classes/ptdictiterator.md)
  * [PTNameTree](/api-markdown-test/api-docs/ios/classes/ptnametree.md)
  * [PTNumberTree](/api-markdown-test/api-docs/ios/classes/ptnumbertree.md)
  * [PTObj](/api-markdown-test/api-docs/ios/classes/ptobj.md)
  * [PTObjSet](/api-markdown-test/api-docs/ios/classes/ptobjset.md)
  * [PTSDFDoc](/api-markdown-test/api-docs/ios/classes/ptsdfdoc.md)
  * [PTSecurityHandler](/api-markdown-test/api-docs/ios/classes/ptsecurityhandler.md)
  * [PTSignatureHandler](/api-markdown-test/api-docs/ios/classes/ptsignaturehandler.md)
* [SDF Enumerations](/api-markdown-test/api-docs/ios/general/sdf-enumerations.md)
  * [PTAlgorithmType](/api-markdown-test/api-docs/ios/enums/ptalgorithmtype.md)
  * [PTObjType](/api-markdown-test/api-docs/ios/enums/ptobjtype.md)
  * [PTPermission](/api-markdown-test/api-docs/ios/enums/ptpermission.md)
  * [PTSaveOptions](/api-markdown-test/api-docs/ios/enums/ptsaveoptions.md)
* [Notifications](/api-markdown-test/api-docs/ios/general/notifications.md)
  * [PTPDFViewCtrlPageDidChangeNotification](/api-markdown-test/api-docs/ios/constants/ptpdfviewctrlpagedidchangenotification.md)
  * [PTPDFViewCtrlPreviousPageNumberUserInfoKey](/api-markdown-test/api-docs/ios/constants/ptpdfviewctrlpreviouspagenumberuserinfokey.md)
  * [PTPDFViewCtrlCurrentPageNumberUserInfoKey](/api-markdown-test/api-docs/ios/constants/ptpdfviewctrlcurrentpagenumberuserinfokey.md)
* [Protocols](/api-markdown-test/api-docs/ios/general/protocols.md)
  * [PTAnnotEditToolDelegate](/api-markdown-test/api-docs/ios/protocols/ptannotedittooldelegate.md)
  * [PTAnnotStyleDelegate](/api-markdown-test/api-docs/ios/protocols/ptannotstyledelegate.md)
  * [PTAnnotStyleViewControllerDelegate](/api-markdown-test/api-docs/ios/protocols/ptannotstyleviewcontrollerdelegate.md)
  * [PTAnnotationToolbarDelegate](/api-markdown-test/api-docs/ios/protocols/ptannotationtoolbardelegate.md)
  * [PTAnnotationViewControllerDelegate](/api-markdown-test/api-docs/ios/protocols/ptannotationviewcontrollerdelegate.md)
  * [PTBookmarkViewControllerDelegate](/api-markdown-test/api-docs/ios/protocols/ptbookmarkviewcontrollerdelegate.md)
  * [PTColorPickerViewControllerDelegate](/api-markdown-test/api-docs/ios/protocols/ptcolorpickerviewcontrollerdelegate.md)
  * [PTDigSigViewControllerDelegate](/api-markdown-test/api-docs/ios/protocols/ptdigsigviewcontrollerdelegate.md)
  * [PTEditToolbarDelegate](/api-markdown-test/api-docs/ios/protocols/ptedittoolbardelegate.md)
  * [PTFindTextToolbarDelegate](/api-markdown-test/api-docs/ios/protocols/ptfindtexttoolbardelegate.md)
  * [PTFloatingSigViewControllerDelegate](/api-markdown-test/api-docs/ios/protocols/ptfloatingsigviewcontrollerdelegate.md)
  * [PTFreeHandCreateDelegate](/api-markdown-test/api-docs/ios/protocols/ptfreehandcreatedelegate.md)
  * [PTOutlineViewControllerDelegate](/api-markdown-test/api-docs/ios/protocols/ptoutlineviewcontrollerdelegate.md)
  * [PTChoiceFormDataSource](/api-markdown-test/api-docs/ios/protocols/ptchoiceformdatasource.md)
  * [PTCoordinatedDocumentDelegate](/api-markdown-test/api-docs/ios/protocols/ptcoordinateddocumentdelegate.md)
  * [PTDocumentViewControllerDelegate](/api-markdown-test/api-docs/ios/protocols/ptdocumentviewcontrollerdelegate.md)
  * [PTNoteEditControllerDelegate](/api-markdown-test/api-docs/ios/protocols/ptnoteeditcontrollerdelegate.md)
  * [PTOverridable](/api-markdown-test/api-docs/ios/protocols/ptoverridable.md)
  * [PTPageTemplateViewControllerDelegate](/api-markdown-test/api-docs/ios/protocols/ptpagetemplateviewcontrollerdelegate.md)
  * [PTReflowViewControllerDelegate](/api-markdown-test/api-docs/ios/protocols/ptreflowviewcontrollerdelegate.md)
  * [PTSavedSignaturesViewControllerDelegate](/api-markdown-test/api-docs/ios/protocols/ptsavedsignaturesviewcontrollerdelegate.md)
  * [PTSettingsViewControllerDelegate](/api-markdown-test/api-docs/ios/protocols/ptsettingsviewcontrollerdelegate.md)
  * [PTTabbedDocumentViewControllerDelegate](/api-markdown-test/api-docs/ios/protocols/pttabbeddocumentviewcontrollerdelegate.md)
  * [PTTextSearchViewControllerDelegate](/api-markdown-test/api-docs/ios/protocols/pttextsearchviewcontrollerdelegate.md)
  * [PTToolEvents](/api-markdown-test/api-docs/ios/protocols/pttoolevents.md)
  * [PTToolOptionsDelegate](/api-markdown-test/api-docs/ios/protocols/pttooloptionsdelegate.md)
  * [PTToolSwitching](/api-markdown-test/api-docs/ios/protocols/pttoolswitching.md)
  * [PTThumbnailSliderViewDelegate](/api-markdown-test/api-docs/ios/protocols/ptthumbnailsliderviewdelegate.md)
  * [PTToolManagerDelegate](/api-markdown-test/api-docs/ios/protocols/pttoolmanagerdelegate.md)
* [PTToolManager Notifications](/api-markdown-test/api-docs/ios/general/pttoolmanager-notifications.md)
  * [PTToolManagerToolDidChangeNotification](/api-markdown-test/api-docs/ios/constants/pttoolmanagertooldidchangenotification.md)
  * [PTToolManagerAnnotationAddedNotification](/api-markdown-test/api-docs/ios/constants/pttoolmanagerannotationaddednotification.md)
  * [PTToolManagerAnnotationModifiedNotification](/api-markdown-test/api-docs/ios/constants/pttoolmanagerannotationmodifiednotification.md)
  * [PTToolManagerAnnotationRemovedNotification](/api-markdown-test/api-docs/ios/constants/pttoolmanagerannotationremovednotification.md)
  * [PTToolManagerFormFieldDataModifiedNotification](/api-markdown-test/api-docs/ios/constants/pttoolmanagerformfielddatamodifiednotification.md)
  * [PTToolManagerAnnotationOptionsDidChangeNotification](/api-markdown-test/api-docs/ios/constants/pttoolmanagerannotationoptionsdidchangenotification.md)
  * [PTToolManagerPreviousToolUserInfoKey](/api-markdown-test/api-docs/ios/constants/pttoolmanagerprevioustooluserinfokey.md)
  * [PTToolManagerAnnotationUserInfoKey](/api-markdown-test/api-docs/ios/constants/pttoolmanagerannotationuserinfokey.md)
  * [PTToolManagerPageNumberUserInfoKey](/api-markdown-test/api-docs/ios/constants/pttoolmanagerpagenumberuserinfokey.md)
  * [PTToolManagerAnnotationNamesUserInfoKey](/api-markdown-test/api-docs/ios/constants/pttoolmanagerannotationnamesuserinfokey.md)
* [PTExtendedAnnotName](/api-markdown-test/api-docs/ios/general/ptextendedannotname.md)
  * [PTExtendedAnnotName](/api-markdown-test/api-docs/ios/type-definitions/ptextendedannotname.md)
  * [PTExtendedAnnotNameText](/api-markdown-test/api-docs/ios/constants/ptextendedannotnametext.md)
  * [PTExtendedAnnotNameLink](/api-markdown-test/api-docs/ios/constants/ptextendedannotnamelink.md)
  * [PTExtendedAnnotNameFreeText](/api-markdown-test/api-docs/ios/constants/ptextendedannotnamefreetext.md)
  * [PTExtendedAnnotNameLine](/api-markdown-test/api-docs/ios/constants/ptextendedannotnameline.md)
  * [PTExtendedAnnotNameSquare](/api-markdown-test/api-docs/ios/constants/ptextendedannotnamesquare.md)
  * [PTExtendedAnnotNameCircle](/api-markdown-test/api-docs/ios/constants/ptextendedannotnamecircle.md)
  * [PTExtendedAnnotNamePolygon](/api-markdown-test/api-docs/ios/constants/ptextendedannotnamepolygon.md)
  * [PTExtendedAnnotNamePolyline](/api-markdown-test/api-docs/ios/constants/ptextendedannotnamepolyline.md)
  * [PTExtendedAnnotNameHighlight](/api-markdown-test/api-docs/ios/constants/ptextendedannotnamehighlight.md)
  * [PTExtendedAnnotNameUnderline](/api-markdown-test/api-docs/ios/constants/ptextendedannotnameunderline.md)
  * [PTExtendedAnnotNameSquiggly](/api-markdown-test/api-docs/ios/constants/ptextendedannotnamesquiggly.md)
  * [PTExtendedAnnotNameStrikeOut](/api-markdown-test/api-docs/ios/constants/ptextendedannotnamestrikeout.md)
  * [PTExtendedAnnotNameStamp](/api-markdown-test/api-docs/ios/constants/ptextendedannotnamestamp.md)
  * [PTExtendedAnnotNameCaret](/api-markdown-test/api-docs/ios/constants/ptextendedannotnamecaret.md)
  * [PTExtendedAnnotNameInk](/api-markdown-test/api-docs/ios/constants/ptextendedannotnameink.md)
  * [PTExtendedAnnotNamePopup](/api-markdown-test/api-docs/ios/constants/ptextendedannotnamepopup.md)
  * [PTExtendedAnnotNameFileAttachment](/api-markdown-test/api-docs/ios/constants/ptextendedannotnamefileattachment.md)
  * [PTExtendedAnnotNameSound](/api-markdown-test/api-docs/ios/constants/ptextendedannotnamesound.md)
  * [PTExtendedAnnotNameMovie](/api-markdown-test/api-docs/ios/constants/ptextendedannotnamemovie.md)
  * [PTExtendedAnnotNameWidget](/api-markdown-test/api-docs/ios/constants/ptextendedannotnamewidget.md)
  * [PTExtendedAnnotNameScreen](/api-markdown-test/api-docs/ios/constants/ptextendedannotnamescreen.md)
  * [PTExtendedAnnotNamePrinterMark](/api-markdown-test/api-docs/ios/constants/ptextendedannotnameprintermark.md)
  * [PTExtendedAnnotNameTrapNet](/api-markdown-test/api-docs/ios/constants/ptextendedannotnametrapnet.md)
  * [PTExtendedAnnotNameWatermark](/api-markdown-test/api-docs/ios/constants/ptextendedannotnamewatermark.md)
  * [PTExtendedAnnotNameThreeDimensional](/api-markdown-test/api-docs/ios/constants/ptextendedannotnamethreedimensional.md)
  * [PTExtendedAnnotNameRedact](/api-markdown-test/api-docs/ios/constants/ptextendedannotnameredact.md)
  * [PTExtendedAnnotNameProjection](/api-markdown-test/api-docs/ios/constants/ptextendedannotnameprojection.md)
  * [PTExtendedAnnotNameRichMedia](/api-markdown-test/api-docs/ios/constants/ptextendedannotnamerichmedia.md)
  * [PTExtendedAnnotNameArrow](/api-markdown-test/api-docs/ios/constants/ptextendedannotnamearrow.md)
  * [PTExtendedAnnotNameSignature](/api-markdown-test/api-docs/ios/constants/ptextendedannotnamesignature.md)
  * [PTExtendedAnnotNameCloudy](/api-markdown-test/api-docs/ios/constants/ptextendedannotnamecloudy.md)
* [PTAnnotStyleKey](/api-markdown-test/api-docs/ios/general/ptannotstylekey.md)
  * [PTAnnotStyleKey](/api-markdown-test/api-docs/ios/type-definitions/ptannotstylekey.md)
  * [PTAnnotStyleKeyColor](/api-markdown-test/api-docs/ios/constants/ptannotstylekeycolor.md)
  * [PTAnnotStyleKeyFillColor](/api-markdown-test/api-docs/ios/constants/ptannotstylekeyfillcolor.md)
  * [PTAnnotStyleKeyOpacity](/api-markdown-test/api-docs/ios/constants/ptannotstylekeyopacity.md)
  * [PTAnnotStyleKeyStrokeColor](/api-markdown-test/api-docs/ios/constants/ptannotstylekeystrokecolor.md)
  * [PTAnnotStyleKeyTextColor](/api-markdown-test/api-docs/ios/constants/ptannotstylekeytextcolor.md)
  * [PTAnnotStyleKeyTextSize](/api-markdown-test/api-docs/ios/constants/ptannotstylekeytextsize.md)
  * [PTAnnotStyleKeyThickness](/api-markdown-test/api-docs/ios/constants/ptannotstylekeythickness.md)
* [PTBookmarkInfoKey](/api-markdown-test/api-docs/ios/general/ptbookmarkinfokey.md)
  * [PTBookmarkInfoKey](/api-markdown-test/api-docs/ios/type-definitions/ptbookmarkinfokey.md)
  * [PTBookmarkInfoKeyName](/api-markdown-test/api-docs/ios/constants/ptbookmarkinfokeyname.md)
  * [PTBookmarkInfoKeyPageNumber](/api-markdown-test/api-docs/ios/constants/ptbookmarkinfokeypagenumber.md)
  * [PTBookmarkInfoKeySDFObjNumber](/api-markdown-test/api-docs/ios/constants/ptbookmarkinfokeysdfobjnumber.md)
  * [PTBookmarkInfoKeyUniqueId](/api-markdown-test/api-docs/ios/constants/ptbookmarkinfokeyuniqueid.md)
* [Viewer Control Constants](/api-markdown-test/api-docs/ios/general/viewer-control-constants.md)
  * [PTDocumentViewControllerHideControlsInterval](/api-markdown-test/api-docs/ios/constants/ptdocumentviewcontrollerhidecontrolsinterval.md)
  * [PTDocumentViewControllerSaveDocumentInterval](/api-markdown-test/api-docs/ios/constants/ptdocumentviewcontrollersavedocumentinterval.md)
* [Other Classes](/api-markdown-test/api-docs/ios/general/other-classes.md)
  * [PTAction](/api-markdown-test/api-docs/ios/classes/ptaction.md)
  * [PTActionParameter](/api-markdown-test/api-docs/ios/classes/ptactionparameter.md)
  * [PTAdvancedImagingConvertOptions](/api-markdown-test/api-docs/ios/classes/ptadvancedimagingconvertoptions.md)
  * [PTAnalyticsManager](/api-markdown-test/api-docs/ios/classes/ptanalyticsmanager.md)
  * [PTAnnotStyleToolbar](/api-markdown-test/api-docs/ios/classes/ptannotstyletoolbar.md)
  * [PTAnnotationAppearanceView](/api-markdown-test/api-docs/ios/classes/ptannotationappearanceview.md)
  * [PTAnnotationAppearanceViewModel](/api-markdown-test/api-docs/ios/classes/ptannotationappearanceviewmodel.md)
  * [PTAnnotationManager](/api-markdown-test/api-docs/ios/classes/ptannotationmanager.md)
  * [PTAnnotationRefreshCustomAppearanceHandler](/api-markdown-test/api-docs/ios/classes/ptannotationrefreshcustomappearancehandler.md)
  * [PTAnnotationReplyInputView](/api-markdown-test/api-docs/ios/classes/ptannotationreplyinputview.md)
  * [PTAnnotationReplyInputViewController](/api-markdown-test/api-docs/ios/classes/ptannotationreplyinputviewcontroller.md)
  * [PTAnnotationReplyViewController](/api-markdown-test/api-docs/ios/classes/ptannotationreplyviewcontroller.md)
  * [PTAnnotationSortMode](/api-markdown-test/api-docs/ios/classes/ptannotationsortmode.md)
  * [PTAnnotationStyleManager](/api-markdown-test/api-docs/ios/classes/ptannotationstylemanager.md)
  * [PTAnnotationStylePresetsGroup](/api-markdown-test/api-docs/ios/classes/ptannotationstylepresetsgroup.md)
  * [PTAnnotationStylePresetsView](/api-markdown-test/api-docs/ios/classes/ptannotationstylepresetsview.md)
  * [PTAnnotationViewCell](/api-markdown-test/api-docs/ios/classes/ptannotationviewcell.md)
  * [PTAnnotationViewControllerConfiguration](/api-markdown-test/api-docs/ios/classes/ptannotationviewcontrollerconfiguration.md)
  * [PTAppearance](/api-markdown-test/api-docs/ios/classes/ptappearance.md)
  * [PTAreaCreate](/api-markdown-test/api-docs/ios/classes/ptareacreate.md)
  * [PTArrowAnnotationOptions](/api-markdown-test/api-docs/ios/classes/ptarrowannotationoptions.md)
  * [PTBadgeIndicatorView](/api-markdown-test/api-docs/ios/classes/ptbadgeindicatorview.md)
  * [PTBarButtonItemCustomView](/api-markdown-test/api-docs/ios/classes/ptbarbuttonitemcustomview.md)
  * [PTBaseCollaborationManager](/api-markdown-test/api-docs/ios/classes/ptbasecollaborationmanager.md)
  * [PTBasicXFDFCollaborationManager](/api-markdown-test/api-docs/ios/classes/ptbasicxfdfcollaborationmanager.md)
  * [PTBitmapInfo](/api-markdown-test/api-docs/ios/classes/ptbitmapinfo.md)
  * [PTBookmark](/api-markdown-test/api-docs/ios/classes/ptbookmark.md)
  * [PTBookmarkManager](/api-markdown-test/api-docs/ios/classes/ptbookmarkmanager.md)
  * [PTBookmarkViewCell](/api-markdown-test/api-docs/ios/classes/ptbookmarkviewcell.md)
  * [PTBorderStyle](/api-markdown-test/api-docs/ios/classes/ptborderstyle.md)
  * [PTButtonBarButtonView](/api-markdown-test/api-docs/ios/classes/ptbuttonbarbuttonview.md)
  * [PTByteRange](/api-markdown-test/api-docs/ios/classes/ptbyterange.md)
  * [PTCADConvertOptions](/api-markdown-test/api-docs/ios/classes/ptcadconvertoptions.md)
  * [PTCADModule](/api-markdown-test/api-docs/ios/classes/ptcadmodule.md)
  * [PTCallback](/api-markdown-test/api-docs/ios/classes/ptcallback.md)
  * [PTCalloutEditTool](/api-markdown-test/api-docs/ios/classes/ptcalloutedittool.md)
  * [PTCanvasView](/api-markdown-test/api-docs/ios/classes/ptcanvasview.md)
  * [PTCharData](/api-markdown-test/api-docs/ios/classes/ptchardata.md)
  * [PTCharIterator](/api-markdown-test/api-docs/ios/classes/ptchariterator.md)
  * [PTCheckBoxCreate](/api-markdown-test/api-docs/ios/classes/ptcheckboxcreate.md)
  * [PTCheckBoxWidget](/api-markdown-test/api-docs/ios/classes/ptcheckboxwidget.md)
  * [PTCheckMarkStampCreate](/api-markdown-test/api-docs/ios/classes/ptcheckmarkstampcreate.md)
  * [PTCollaborationAnnotation](/api-markdown-test/api-docs/ios/classes/ptcollaborationannotation.md)
  * [PTCollaborationDocumentController](/api-markdown-test/api-docs/ios/classes/ptcollaborationdocumentcontroller.md)
  * [PTCollaborationDocumentViewController](/api-markdown-test/api-docs/ios/classes/ptcollaborationdocumentviewcontroller.md)
  * [PTCollaborationManager](/api-markdown-test/api-docs/ios/classes/ptcollaborationmanager.md)
  * [PTColorPt](/api-markdown-test/api-docs/ios/classes/ptcolorpt.md)
  * [PTColorSpace](/api-markdown-test/api-docs/ios/classes/ptcolorspace.md)
  * [PTComboBoxCreate](/api-markdown-test/api-docs/ios/classes/ptcomboboxcreate.md)
  * [PTComboBoxWidget](/api-markdown-test/api-docs/ios/classes/ptcomboboxwidget.md)
  * [PTContentReplacer](/api-markdown-test/api-docs/ios/classes/ptcontentreplacer.md)
  * [PTConversionMonitor](/api-markdown-test/api-docs/ios/classes/ptconversionmonitor.md)
  * [PTConversionOptions](/api-markdown-test/api-docs/ios/classes/ptconversionoptions.md)
  * [PTCountCreate](/api-markdown-test/api-docs/ios/classes/ptcountcreate.md)
  * [PTCountPopupViewController](/api-markdown-test/api-docs/ios/classes/ptcountpopupviewcontroller.md)
  * [PTCreateRubberStampViewController](/api-markdown-test/api-docs/ios/classes/ptcreaterubberstampviewcontroller.md)
  * [PTCrossMarkStampCreate](/api-markdown-test/api-docs/ios/classes/ptcrossmarkstampcreate.md)
  * [PTCustomStampOption](/api-markdown-test/api-docs/ios/classes/ptcustomstampoption.md)
  * [PTCustomTableViewController](/api-markdown-test/api-docs/ios/classes/ptcustomtableviewcontroller.md)
  * [PTDataExtractionModule](/api-markdown-test/api-docs/ios/classes/ptdataextractionmodule.md)
  * [PTDataExtractionOptions](/api-markdown-test/api-docs/ios/classes/ptdataextractionoptions.md)
  * [PTDate](/api-markdown-test/api-docs/ios/classes/ptdate.md)
  * [PTDateTextAnnotationOptions](/api-markdown-test/api-docs/ios/classes/ptdatetextannotationoptions.md)
  * [PTDateTextCreate](/api-markdown-test/api-docs/ios/classes/ptdatetextcreate.md)
  * [PTDefaultAnnotationRefreshAppearanceHandler](/api-markdown-test/api-docs/ios/classes/ptdefaultannotationrefreshappearancehandler.md)
  * [PTDestination](/api-markdown-test/api-docs/ios/classes/ptdestination.md)
  * [PTDiffOptions](/api-markdown-test/api-docs/ios/classes/ptdiffoptions.md)
  * [PTDiffViewController](/api-markdown-test/api-docs/ios/classes/ptdiffviewcontroller.md)
  * [PTDigestAlgorithm](/api-markdown-test/api-docs/ios/classes/ptdigestalgorithm.md)
  * [PTDigitalSignatureField](/api-markdown-test/api-docs/ios/classes/ptdigitalsignaturefield.md)
  * [PTDigitalSignatureFieldIterator](/api-markdown-test/api-docs/ios/classes/ptdigitalsignaturefielditerator.md)
  * [PTDigitalSignaturesManager](/api-markdown-test/api-docs/ios/classes/ptdigitalsignaturesmanager.md)
  * [PTDigitalSignaturesViewController](/api-markdown-test/api-docs/ios/classes/ptdigitalsignaturesviewcontroller.md)
  * [PTDisallowedChange](/api-markdown-test/api-docs/ios/classes/ptdisallowedchange.md)
  * [PTDocumentBaseViewController](/api-markdown-test/api-docs/ios/classes/ptdocumentbaseviewcontroller.md)
  * [PTDocumentNavigationItem](/api-markdown-test/api-docs/ios/classes/ptdocumentnavigationitem.md)
  * [PTDocumentOptions](/api-markdown-test/api-docs/ios/classes/ptdocumentoptions.md)
  * [PTDocumentSlider](/api-markdown-test/api-docs/ios/classes/ptdocumentslider.md)
  * [PTDocumentSliderViewController](/api-markdown-test/api-docs/ios/classes/ptdocumentsliderviewcontroller.md)
  * [PTDocumentTabBar](/api-markdown-test/api-docs/ios/classes/ptdocumenttabbar.md)
  * [PTDocumentTabItem](/api-markdown-test/api-docs/ios/classes/ptdocumenttabitem.md)
  * [PTDocumentTabManager](/api-markdown-test/api-docs/ios/classes/ptdocumenttabmanager.md)
  * [PTDocumentTabTableViewController](/api-markdown-test/api-docs/ios/classes/ptdocumenttabtableviewcontroller.md)
  * [PTDocumentViewSettings](/api-markdown-test/api-docs/ios/classes/ptdocumentviewsettings.md)
  * [PTDocumentViewSettingsController](/api-markdown-test/api-docs/ios/classes/ptdocumentviewsettingscontroller.md)
  * [PTDocumentViewState](/api-markdown-test/api-docs/ios/classes/ptdocumentviewstate.md)
  * [PTDotStampCreate](/api-markdown-test/api-docs/ios/classes/ptdotstampcreate.md)
  * [PTElement](/api-markdown-test/api-docs/ios/classes/ptelement.md)
  * [PTElementBuilder](/api-markdown-test/api-docs/ios/classes/ptelementbuilder.md)
  * [PTElementReader](/api-markdown-test/api-docs/ios/classes/ptelementreader.md)
  * [PTElementWriter](/api-markdown-test/api-docs/ios/classes/ptelementwriter.md)
  * [PTEmbeddedTimestampVerificationResult](/api-markdown-test/api-docs/ios/classes/ptembeddedtimestampverificationresult.md)
  * [PTEmptyTableViewIndicator](/api-markdown-test/api-docs/ios/classes/ptemptytableviewindicator.md)
  * [PTExcelOutputOptions](/api-markdown-test/api-docs/ios/classes/ptexceloutputoptions.md)
  * [PTExternalAnnotManager](/api-markdown-test/api-docs/ios/classes/ptexternalannotmanager.md)
  * [PTFeatureGate](/api-markdown-test/api-docs/ios/classes/ptfeaturegate.md)
  * [PTFileAttachmentAnnotationOptions](/api-markdown-test/api-docs/ios/classes/ptfileattachmentannotationoptions.md)
  * [PTFileAttachmentCreate](/api-markdown-test/api-docs/ios/classes/ptfileattachmentcreate.md)
  * [PTFileAttachmentHandler](/api-markdown-test/api-docs/ios/classes/ptfileattachmenthandler.md)
  * [PTFileSpec](/api-markdown-test/api-docs/ios/classes/ptfilespec.md)
  * [PTFlattener](/api-markdown-test/api-docs/ios/classes/ptflattener.md)
  * [PTFont](/api-markdown-test/api-docs/ios/classes/ptfont.md)
  * [PTFontPickerViewController](/api-markdown-test/api-docs/ios/classes/ptfontpickerviewcontroller.md)
  * [PTFreeTextAnnotationOptions](/api-markdown-test/api-docs/ios/classes/ptfreetextannotationoptions.md)
  * [PTFreeTextAnnotationProperties](/api-markdown-test/api-docs/ios/classes/ptfreetextannotationproperties.md)
  * [PTFreeTextAppearanceView](/api-markdown-test/api-docs/ios/classes/ptfreetextappearanceview.md)
  * [PTFreeTextAppearanceViewModel](/api-markdown-test/api-docs/ios/classes/ptfreetextappearanceviewmodel.md)
  * [PTFreeTextInputAccessoryView](/api-markdown-test/api-docs/ios/classes/ptfreetextinputaccessoryview.md)
  * [PTFreeTextRefreshAppearanceHandler](/api-markdown-test/api-docs/ios/classes/ptfreetextrefreshappearancehandler.md)
  * [PTFreeTextView](/api-markdown-test/api-docs/ios/classes/ptfreetextview.md)
  * [PTFunction](/api-markdown-test/api-docs/ios/classes/ptfunction.md)
  * [PTGSChangesIterator](/api-markdown-test/api-docs/ios/classes/ptgschangesiterator.md)
  * [PTGState](/api-markdown-test/api-docs/ios/classes/ptgstate.md)
  * [PTGeometryCollection](/api-markdown-test/api-docs/ios/classes/ptgeometrycollection.md)
  * [PTGrabberView](/api-markdown-test/api-docs/ios/classes/ptgrabberview.md)
  * [PTHTTPRequestOptions](/api-markdown-test/api-docs/ios/classes/pthttprequestoptions.md)
  * [PTHalfModalPresentationController](/api-markdown-test/api-docs/ios/classes/pthalfmodalpresentationcontroller.md)
  * [PTHighlight](/api-markdown-test/api-docs/ios/classes/pthighlight.md)
  * [PTHighlights](/api-markdown-test/api-docs/ios/classes/pthighlights.md)
  * [PTImage](/api-markdown-test/api-docs/ios/classes/ptimage.md)
  * [PTImage2RGB](/api-markdown-test/api-docs/ios/classes/ptimage2rgb.md)
  * [PTImage2RGBA](/api-markdown-test/api-docs/ios/classes/ptimage2rgba.md)
  * [PTImageSettings](/api-markdown-test/api-docs/ios/classes/ptimagesettings.md)
  * [PTImageStampAnnotationOptions](/api-markdown-test/api-docs/ios/classes/ptimagestampannotationoptions.md)
  * [PTImageStampCreate](/api-markdown-test/api-docs/ios/classes/ptimagestampcreate.md)
  * [PTKeyStrokeActionResult](/api-markdown-test/api-docs/ios/classes/ptkeystrokeactionresult.md)
  * [PTKeyStrokeEventData](/api-markdown-test/api-docs/ios/classes/ptkeystrokeeventdata.md)
  * [PTLayerInfo](/api-markdown-test/api-docs/ios/classes/ptlayerinfo.md)
  * [PTLegacyAnnotationViewController](/api-markdown-test/api-docs/ios/classes/ptlegacyannotationviewcontroller.md)
  * [PTLinkCreate](/api-markdown-test/api-docs/ios/classes/ptlinkcreate.md)
  * [PTLinkInfo](/api-markdown-test/api-docs/ios/classes/ptlinkinfo.md)
  * [PTLinkPopupViewController](/api-markdown-test/api-docs/ios/classes/ptlinkpopupviewcontroller.md)
  * [PTListBoxCreate](/api-markdown-test/api-docs/ios/classes/ptlistboxcreate.md)
  * [PTListBoxWidget](/api-markdown-test/api-docs/ios/classes/ptlistboxwidget.md)
  * [PTLogger](/api-markdown-test/api-docs/ios/classes/ptlogger.md)
  * [PTMarkupAnnotationProperties](/api-markdown-test/api-docs/ios/classes/ptmarkupannotationproperties.md)
  * [PTMatrix2D](/api-markdown-test/api-docs/ios/classes/ptmatrix2d.md)
  * [PTMeasurementScale](/api-markdown-test/api-docs/ios/classes/ptmeasurementscale.md)
  * [PTMemoryFilter](/api-markdown-test/api-docs/ios/classes/ptmemoryfilter.md)
  * [PTMergeXFDFOptions](/api-markdown-test/api-docs/ios/classes/ptmergexfdfoptions.md)
  * [PTMonoImageSettings](/api-markdown-test/api-docs/ios/classes/ptmonoimagesettings.md)
  * [PTMoreItemsViewController](/api-markdown-test/api-docs/ios/classes/ptmoreitemsviewcontroller.md)
  * [PTMultiAnnotStyleViewController](/api-markdown-test/api-docs/ios/classes/ptmultiannotstyleviewcontroller.md)
  * [PTNavigationHistoryItem](/api-markdown-test/api-docs/ios/classes/ptnavigationhistoryitem.md)
  * [PTNavigationHistoryManager](/api-markdown-test/api-docs/ios/classes/ptnavigationhistorymanager.md)
  * [PTNavigationHistoryState](/api-markdown-test/api-docs/ios/classes/ptnavigationhistorystate.md)
  * [PTNavigationHistoryView](/api-markdown-test/api-docs/ios/classes/ptnavigationhistoryview.md)
  * [PTNavigationHistoryViewController](/api-markdown-test/api-docs/ios/classes/ptnavigationhistoryviewcontroller.md)
  * [PTOCRModule](/api-markdown-test/api-docs/ios/classes/ptocrmodule.md)
  * [PTOCROptions](/api-markdown-test/api-docs/ios/classes/ptocroptions.md)
  * [PTOCRPageOperation](/api-markdown-test/api-docs/ios/classes/ptocrpageoperation.md)
  * [PTOCRProcessor](/api-markdown-test/api-docs/ios/classes/ptocrprocessor.md)
  * [PTObjectIdentifier](/api-markdown-test/api-docs/ios/classes/ptobjectidentifier.md)
  * [PTOfficeToPDFOptions](/api-markdown-test/api-docs/ios/classes/ptofficetopdfoptions.md)
  * [PTOptimizer](/api-markdown-test/api-docs/ios/classes/ptoptimizer.md)
  * [PTOptimizerSettings](/api-markdown-test/api-docs/ios/classes/ptoptimizersettings.md)
  * [PTOutputOptionsOCR](/api-markdown-test/api-docs/ios/classes/ptoutputoptionsocr.md)
  * [PTPDF2HtmlReflowParagraphsModule](/api-markdown-test/api-docs/ios/classes/ptpdf2htmlreflowparagraphsmodule.md)
  * [PTPDF2WordModule](/api-markdown-test/api-docs/ios/classes/ptpdf2wordmodule.md)
  * [PTPDFAOptions](/api-markdown-test/api-docs/ios/classes/ptpdfaoptions.md)
  * [PTPDFAnnotationBorder](/api-markdown-test/api-docs/ios/classes/ptpdfannotationborder.md)
  * [PTPDFAnnotationChange](/api-markdown-test/api-docs/ios/classes/ptpdfannotationchange.md)
  * [PTPDFAnnotationProperties](/api-markdown-test/api-docs/ios/classes/ptpdfannotationproperties.md)
  * [PTPDFAnnotationState](/api-markdown-test/api-docs/ios/classes/ptpdfannotationstate.md)
  * [PTPDFDocGenerator](/api-markdown-test/api-docs/ios/classes/ptpdfdocgenerator.md)
  * [PTPDFDocInfo](/api-markdown-test/api-docs/ios/classes/ptpdfdocinfo.md)
  * [PTPDFDocViewPrefs](/api-markdown-test/api-docs/ios/classes/ptpdfdocviewprefs.md)
  * [PTPDFDocumentFile](/api-markdown-test/api-docs/ios/classes/ptpdfdocumentfile.md)
  * [PTPDFDocumentManager](/api-markdown-test/api-docs/ios/classes/ptpdfdocumentmanager.md)
  * [PTPDFDocumentModel](/api-markdown-test/api-docs/ios/classes/ptpdfdocumentmodel.md)
  * [PTPDFLayerViewController](/api-markdown-test/api-docs/ios/classes/ptpdflayerviewcontroller.md)
  * [PTPDFNetException](/api-markdown-test/api-docs/ios/classes/ptpdfnetexception.md)
  * [PTPDFPoint](/api-markdown-test/api-docs/ios/classes/ptpdfpoint.md)
  * [PTPDFRasterizer](/api-markdown-test/api-docs/ios/classes/ptpdfrasterizer.md)
  * [PTPDFRect](/api-markdown-test/api-docs/ios/classes/ptpdfrect.md)
  * [PTPDFRectCollection](/api-markdown-test/api-docs/ios/classes/ptpdfrectcollection.md)
  * [PTPDFTextRange](/api-markdown-test/api-docs/ios/classes/ptpdftextrange.md)
  * [PTPDFTronCustomSecurityHandler](/api-markdown-test/api-docs/ios/classes/ptpdftroncustomsecurityhandler.md)
  * [PTPDFTronUtil](/api-markdown-test/api-docs/ios/classes/ptpdftronutil.md)
  * [PTPDFView](/api-markdown-test/api-docs/ios/classes/ptpdfview.md)
  * [PTPage](/api-markdown-test/api-docs/ios/classes/ptpage.md)
  * [PTPageCropViewController](/api-markdown-test/api-docs/ios/classes/ptpagecropviewcontroller.md)
  * [PTPageIterator](/api-markdown-test/api-docs/ios/classes/ptpageiterator.md)
  * [PTPageLabel](/api-markdown-test/api-docs/ios/classes/ptpagelabel.md)
  * [PTPageLabelManager](/api-markdown-test/api-docs/ios/classes/ptpagelabelmanager.md)
  * [PTPageSet](/api-markdown-test/api-docs/ios/classes/ptpageset.md)
  * [PTPageTemplateViewController](/api-markdown-test/api-docs/ios/classes/ptpagetemplateviewcontroller.md)
  * [PTPanelView](/api-markdown-test/api-docs/ios/classes/ptpanelview.md)
  * [PTPanelViewController](/api-markdown-test/api-docs/ios/classes/ptpanelviewcontroller.md)
  * [PTPassthroughView](/api-markdown-test/api-docs/ios/classes/ptpassthroughview.md)
  * [PTPathData](/api-markdown-test/api-docs/ios/classes/ptpathdata.md)
  * [PTPatternColor](/api-markdown-test/api-docs/ios/classes/ptpatterncolor.md)
  * [PTPerimeterCreate](/api-markdown-test/api-docs/ios/classes/ptperimetercreate.md)
  * [PTPopoverNavigationController](/api-markdown-test/api-docs/ios/classes/ptpopovernavigationcontroller.md)
  * [PTPopoverTableViewController](/api-markdown-test/api-docs/ios/classes/ptpopovertableviewcontroller.md)
  * [PTPowerPointOutputOptions](/api-markdown-test/api-docs/ios/classes/ptpowerpointoutputoptions.md)
  * [PTPrint](/api-markdown-test/api-docs/ios/classes/ptprint.md)
  * [PTPrintPrepareDocumentHandler](/api-markdown-test/api-docs/ios/classes/ptprintpreparedocumenthandler.md)
  * [PTPushButtonWidget](/api-markdown-test/api-docs/ios/classes/ptpushbuttonwidget.md)
  * [PTQuadPoint](/api-markdown-test/api-docs/ios/classes/ptquadpoint.md)
  * [PTRadioButtonCreate](/api-markdown-test/api-docs/ios/classes/ptradiobuttoncreate.md)
  * [PTRadioButtonGroup](/api-markdown-test/api-docs/ios/classes/ptradiobuttongroup.md)
  * [PTRadioButtonWidget](/api-markdown-test/api-docs/ios/classes/ptradiobuttonwidget.md)
  * [PTRecentlyUsedCache](/api-markdown-test/api-docs/ios/classes/ptrecentlyusedcache.md)
  * [PTRectangleRedactionCreate](/api-markdown-test/api-docs/ios/classes/ptrectangleredactioncreate.md)
  * [PTRedaction](/api-markdown-test/api-docs/ios/classes/ptredaction.md)
  * [PTRedactor](/api-markdown-test/api-docs/ios/classes/ptredactor.md)
  * [PTReflow](/api-markdown-test/api-docs/ios/classes/ptreflow.md)
  * [PTReflowManager](/api-markdown-test/api-docs/ios/classes/ptreflowmanager.md)
  * [PTReflowProcessor](/api-markdown-test/api-docs/ios/classes/ptreflowprocessor.md)
  * [PTReflowSettingsViewController](/api-markdown-test/api-docs/ios/classes/ptreflowsettingsviewcontroller.md)
  * [PTRefreshOptions](/api-markdown-test/api-docs/ios/classes/ptrefreshoptions.md)
  * [PTRotateWidgetView](/api-markdown-test/api-docs/ios/classes/ptrotatewidgetview.md)
  * [PTRubberStampColorModel](/api-markdown-test/api-docs/ios/classes/ptrubberstampcolormodel.md)
  * [PTRulerCreate](/api-markdown-test/api-docs/ios/classes/ptrulercreate.md)
  * [PTSDFDocSnapshot](/api-markdown-test/api-docs/ios/classes/ptsdfdocsnapshot.md)
  * [PTSDFResultSnapshot](/api-markdown-test/api-docs/ios/classes/ptsdfresultsnapshot.md)
  * [PTSDFUndoManager](/api-markdown-test/api-docs/ios/classes/ptsdfundomanager.md)
  * [PTSVGConvertOptions](/api-markdown-test/api-docs/ios/classes/ptsvgconvertoptions.md)
  * [PTSavedCountGroupsViewController](/api-markdown-test/api-docs/ios/classes/ptsavedcountgroupsviewcontroller.md)
  * [PTSearchSettingsViewController](/api-markdown-test/api-docs/ios/classes/ptsearchsettingsviewcontroller.md)
  * [PTSelectableBarButtonItem](/api-markdown-test/api-docs/ios/classes/ptselectablebarbuttonitem.md)
  * [PTSelection](/api-markdown-test/api-docs/ios/classes/ptselection.md)
  * [PTSeparation](/api-markdown-test/api-docs/ios/classes/ptseparation.md)
  * [PTShading](/api-markdown-test/api-docs/ios/classes/ptshading.md)
  * [PTShapedText](/api-markdown-test/api-docs/ios/classes/ptshapedtext.md)
  * [PTSignatureAnnotationOptions](/api-markdown-test/api-docs/ios/classes/ptsignatureannotationoptions.md)
  * [PTSignatureFieldCreate](/api-markdown-test/api-docs/ios/classes/ptsignaturefieldcreate.md)
  * [PTSignatureWidget](/api-markdown-test/api-docs/ios/classes/ptsignaturewidget.md)
  * [PTSmartHighlighter](/api-markdown-test/api-docs/ios/classes/ptsmarthighlighter.md)
  * [PTSmartPen](/api-markdown-test/api-docs/ios/classes/ptsmartpen.md)
  * [PTSmartTool](/api-markdown-test/api-docs/ios/classes/ptsmarttool.md)
  * [PTSpacingTextCreate](/api-markdown-test/api-docs/ios/classes/ptspacingtextcreate.md)
  * [PTStamper](/api-markdown-test/api-docs/ios/classes/ptstamper.md)
  * [PTStructuredOutputModule](/api-markdown-test/api-docs/ios/classes/ptstructuredoutputmodule.md)
  * [PTTemplateDocument](/api-markdown-test/api-docs/ios/classes/pttemplatedocument.md)
  * [PTTextAnnotationOptions](/api-markdown-test/api-docs/ios/classes/pttextannotationoptions.md)
  * [PTTextDiffOptions](/api-markdown-test/api-docs/ios/classes/pttextdiffoptions.md)
  * [PTTextExtractor](/api-markdown-test/api-docs/ios/classes/pttextextractor.md)
  * [PTTextExtractorCharRange](/api-markdown-test/api-docs/ios/classes/pttextextractorcharrange.md)
  * [PTTextExtractorLine](/api-markdown-test/api-docs/ios/classes/pttextextractorline.md)
  * [PTTextExtractorStyle](/api-markdown-test/api-docs/ios/classes/pttextextractorstyle.md)
  * [PTTextFieldCreate](/api-markdown-test/api-docs/ios/classes/pttextfieldcreate.md)
  * [PTTextMarkupAnnotationOptions](/api-markdown-test/api-docs/ios/classes/pttextmarkupannotationoptions.md)
  * [PTTextRedactionCreate](/api-markdown-test/api-docs/ios/classes/pttextredactioncreate.md)
  * [PTTextSearchManager](/api-markdown-test/api-docs/ios/classes/pttextsearchmanager.md)
  * [PTTextSearchOptions](/api-markdown-test/api-docs/ios/classes/pttextsearchoptions.md)
  * [PTTextSearchSession](/api-markdown-test/api-docs/ios/classes/pttextsearchsession.md)
  * [PTTextSearchToolbar](/api-markdown-test/api-docs/ios/classes/pttextsearchtoolbar.md)
  * [PTTextSearchToolbarController](/api-markdown-test/api-docs/ios/classes/pttextsearchtoolbarcontroller.md)
  * [PTTextSettings](/api-markdown-test/api-docs/ios/classes/pttextsettings.md)
  * [PTTextWidget](/api-markdown-test/api-docs/ios/classes/pttextwidget.md)
  * [PTTextWidgetAnnotationProperties](/api-markdown-test/api-docs/ios/classes/pttextwidgetannotationproperties.md)
  * [PTTextWidgetAppearanceView](/api-markdown-test/api-docs/ios/classes/pttextwidgetappearanceview.md)
  * [PTTextWidgetAppearanceViewModel](/api-markdown-test/api-docs/ios/classes/pttextwidgetappearanceviewmodel.md)
  * [PTTextWidgetRefreshAppearanceHandler](/api-markdown-test/api-docs/ios/classes/pttextwidgetrefreshappearancehandler.md)
  * [PTThumbnailSliderView](/api-markdown-test/api-docs/ios/classes/ptthumbnailsliderview.md)
  * [PTTimestampingConfiguration](/api-markdown-test/api-docs/ios/classes/pttimestampingconfiguration.md)
  * [PTTimestampingResult](/api-markdown-test/api-docs/ios/classes/pttimestampingresult.md)
  * [PTToolBarButtonItem](/api-markdown-test/api-docs/ios/classes/pttoolbarbuttonitem.md)
  * [PTToolGroup](/api-markdown-test/api-docs/ios/classes/pttoolgroup.md)
  * [PTToolGroupDefaultsViewController](/api-markdown-test/api-docs/ios/classes/pttoolgroupdefaultsviewcontroller.md)
  * [PTToolGroupIndicatorView](/api-markdown-test/api-docs/ios/classes/pttoolgroupindicatorview.md)
  * [PTToolGroupTableViewCell](/api-markdown-test/api-docs/ios/classes/pttoolgrouptableviewcell.md)
  * [PTToolGroupToolbar](/api-markdown-test/api-docs/ios/classes/pttoolgrouptoolbar.md)
  * [PTToolGroupViewController](/api-markdown-test/api-docs/ios/classes/pttoolgroupviewcontroller.md)
  * [PTToolsSettingsManager](/api-markdown-test/api-docs/ios/classes/pttoolssettingsmanager.md)
  * [PTTrustVerificationResult](/api-markdown-test/api-docs/ios/classes/pttrustverificationresult.md)
  * [PTUInt32Iterator](/api-markdown-test/api-docs/ios/classes/ptuint32iterator.md)
  * [PTUndoRedoInfo](/api-markdown-test/api-docs/ios/classes/ptundoredoinfo.md)
  * [PTUndoRedoManager](/api-markdown-test/api-docs/ios/classes/ptundoredomanager.md)
  * [PTVectorAnnot](/api-markdown-test/api-docs/ios/classes/ptvectorannot.md)
  * [PTVectorLabel](/api-markdown-test/api-docs/ios/classes/ptvectorlabel.md)
  * [PTVectorObj](/api-markdown-test/api-docs/ios/classes/ptvectorobj.md)
  * [PTVectorPage](/api-markdown-test/api-docs/ios/classes/ptvectorpage.md)
  * [PTVectorQuadPoint](/api-markdown-test/api-docs/ios/classes/ptvectorquadpoint.md)
  * [PTVectorRedaction](/api-markdown-test/api-docs/ios/classes/ptvectorredaction.md)
  * [PTVerificationOptions](/api-markdown-test/api-docs/ios/classes/ptverificationoptions.md)
  * [PTVerificationResult](/api-markdown-test/api-docs/ios/classes/ptverificationresult.md)
  * [PTViewChangeCollection](/api-markdown-test/api-docs/ios/classes/ptviewchangecollection.md)
  * [PTViewerOptimizedOptions](/api-markdown-test/api-docs/ios/classes/ptvieweroptimizedoptions.md)
  * [PTWebFontDownloader](/api-markdown-test/api-docs/ios/classes/ptwebfontdownloader.md)
  * [PTWidgetAnnotationOptions](/api-markdown-test/api-docs/ios/classes/ptwidgetannotationoptions.md)
  * [PTWidgetAnnotationProperties](/api-markdown-test/api-docs/ios/classes/ptwidgetannotationproperties.md)
  * [PTWord](/api-markdown-test/api-docs/ios/classes/ptword.md)
  * [PTWordOutputOptions](/api-markdown-test/api-docs/ios/classes/ptwordoutputoptions.md)
  * [PTX501AttributeTypeAndValue](/api-markdown-test/api-docs/ios/classes/ptx501attributetypeandvalue.md)
  * [PTX501DistinguishedName](/api-markdown-test/api-docs/ios/classes/ptx501distinguishedname.md)
  * [PTX509Certificate](/api-markdown-test/api-docs/ios/classes/ptx509certificate.md)
  * [PTX509Extension](/api-markdown-test/api-docs/ios/classes/ptx509extension.md)
  * [PTXFDFExportOptions](/api-markdown-test/api-docs/ios/classes/ptxfdfexportoptions.md)
  * [PT\_TRN\_date](/api-markdown-test/api-docs/ios/classes/pt_trn_date.md)
  * [PT\_TRN\_matrix2d](/api-markdown-test/api-docs/ios/classes/pt_trn_matrix2d.md)
  * [PT\_TRN\_point](/api-markdown-test/api-docs/ios/classes/pt_trn_point.md)
  * [PT\_TRN\_quadpoint](/api-markdown-test/api-docs/ios/classes/pt_trn_quadpoint.md)
* [Other Constants](/api-markdown-test/api-docs/ios/general/other-constants.md)
  * [PTAddedAnnotationsUserInfoKey](/api-markdown-test/api-docs/ios/constants/ptaddedannotationsuserinfokey.md)
  * [PTAnnotStyleKeyBorderEffect](/api-markdown-test/api-docs/ios/constants/ptannotstylekeybordereffect.md)
  * [PTAnnotStyleKeyBorderEffectIntensity](/api-markdown-test/api-docs/ios/constants/ptannotstylekeybordereffectintensity.md)
  * [PTAnnotStyleKeyDateFormat](/api-markdown-test/api-docs/ios/constants/ptannotstylekeydateformat.md)
  * [PTAnnotStyleKeyFont](/api-markdown-test/api-docs/ios/constants/ptannotstylekeyfont.md)
  * [PTAnnotStyleKeyHorizontalAlignment](/api-markdown-test/api-docs/ios/constants/ptannotstylekeyhorizontalalignment.md)
  * [PTAnnotStyleKeyLabel](/api-markdown-test/api-docs/ios/constants/ptannotstylekeylabel.md)
  * [PTAnnotStyleKeyLineEndStyles](/api-markdown-test/api-docs/ios/constants/ptannotstylekeylineendstyles.md)
  * [PTAnnotStyleKeyPrecision](/api-markdown-test/api-docs/ios/constants/ptannotstylekeyprecision.md)
  * [PTAnnotStyleKeyScale](/api-markdown-test/api-docs/ios/constants/ptannotstylekeyscale.md)
  * [PTAnnotStyleKeySnapping](/api-markdown-test/api-docs/ios/constants/ptannotstylekeysnapping.md)
  * [PTAnnotStyleKeyStrokeStyle](/api-markdown-test/api-docs/ios/constants/ptannotstylekeystrokestyle.md)
  * [PTAnnotStyleKeyVerticalAlignment](/api-markdown-test/api-docs/ios/constants/ptannotstylekeyverticalalignment.md)
  * [PTAnnotStyleMaximumEraserWidth](/api-markdown-test/api-docs/ios/constants/ptannotstylemaximumeraserwidth.md)
  * [PTAnnotStylePresetKeyColor](/api-markdown-test/api-docs/ios/constants/ptannotstylepresetkeycolor.md)
  * [PTAnnotStylePresetKeyFillColor](/api-markdown-test/api-docs/ios/constants/ptannotstylepresetkeyfillcolor.md)
  * [PTAnnotStylePresetKeyOpacity](/api-markdown-test/api-docs/ios/constants/ptannotstylepresetkeyopacity.md)
  * [PTAnnotStylePresetKeyPresets](/api-markdown-test/api-docs/ios/constants/ptannotstylepresetkeypresets.md)
  * [PTAnnotStylePresetKeyTextColor](/api-markdown-test/api-docs/ios/constants/ptannotstylepresetkeytextcolor.md)
  * [PTAnnotStylePresetKeyTextSize](/api-markdown-test/api-docs/ios/constants/ptannotstylepresetkeytextsize.md)
  * [PTAnnotStylePresetKeyThickness](/api-markdown-test/api-docs/ios/constants/ptannotstylepresetkeythickness.md)
  * [PTAnnotStylePresetKeyTypes](/api-markdown-test/api-docs/ios/constants/ptannotstylepresetkeytypes.md)
  * [PTAnnotationChangesUserInfoKey](/api-markdown-test/api-docs/ios/constants/ptannotationchangesuserinfokey.md)
  * [PTAnnotationManagerAnnotationsDidChangeNotification](/api-markdown-test/api-docs/ios/constants/ptannotationmanagerannotationsdidchangenotification.md)
  * [PTAnnotationManagerAnnotationsWillChangeNotification](/api-markdown-test/api-docs/ios/constants/ptannotationmanagerannotationswillchangenotification.md)
  * [PTAnnotationManagerDidEndLoadingAnnotationsNotification](/api-markdown-test/api-docs/ios/constants/ptannotationmanagerdidendloadingannotationsnotification.md)
  * [PTAnnotationManagerDidLoadDocumentModel](/api-markdown-test/api-docs/ios/constants/ptannotationmanagerdidloaddocumentmodel.md)
  * [PTAnnotationManagerWillBeginLoadingAnnotationsNotification](/api-markdown-test/api-docs/ios/constants/ptannotationmanagerwillbeginloadingannotationsnotification.md)
  * [PTBookmarkManagerDidImportBookmarksNotification](/api-markdown-test/api-docs/ios/constants/ptbookmarkmanagerdidimportbookmarksnotification.md)
  * [PTBookmarkManagerDocumentUserInfoKey](/api-markdown-test/api-docs/ios/constants/ptbookmarkmanagerdocumentuserinfokey.md)
  * [PTBookmarkManagerWillImportBookmarksNotification](/api-markdown-test/api-docs/ios/constants/ptbookmarkmanagerwillimportbookmarksnotification.md)
  * [PTCalloutTextContentRectHeight](/api-markdown-test/api-docs/ios/constants/ptcallouttextcontentrectheight.md)
  * [PTCalloutTextContentRectWidth](/api-markdown-test/api-docs/ios/constants/ptcallouttextcontentrectwidth.md)
  * [PTCalloutTextHorizontalDistance](/api-markdown-test/api-docs/ios/constants/ptcallouttexthorizontaldistance.md)
  * [PTCalloutTextVerticalDistance](/api-markdown-test/api-docs/ios/constants/ptcallouttextverticaldistance.md)
  * [PTCheckBoxHeightKey](/api-markdown-test/api-docs/ios/constants/ptcheckboxheightkey.md)
  * [PTCheckBoxWidthKey](/api-markdown-test/api-docs/ios/constants/ptcheckboxwidthkey.md)
  * [PTCountKey](/api-markdown-test/api-docs/ios/constants/ptcountkey.md)
  * [PTCountLabelKey](/api-markdown-test/api-docs/ios/constants/ptcountlabelkey.md)
  * [PTCustomStampOptionsUserDefaultsKey](/api-markdown-test/api-docs/ios/constants/ptcustomstampoptionsuserdefaultskey.md)
  * [PTDateTextDateKey](/api-markdown-test/api-docs/ios/constants/ptdatetextdatekey.md)
  * [PTDateTextDefaultDateFormat](/api-markdown-test/api-docs/ios/constants/ptdatetextdefaultdateformat.md)
  * [PTDateTextFormatKey](/api-markdown-test/api-docs/ios/constants/ptdatetextformatkey.md)
  * [PTDocumentViewControllerDidDisappearNotification](/api-markdown-test/api-docs/ios/constants/ptdocumentviewcontrollerdiddisappearnotification.md)
  * [PTDocumentViewControllerDidDissmissShareActivityNotification](/api-markdown-test/api-docs/ios/constants/ptdocumentviewcontrollerdiddissmissshareactivitynotification.md)
  * [PTDocumentViewControllerDidOpenDocumentNotification](/api-markdown-test/api-docs/ios/constants/ptdocumentviewcontrollerdidopendocumentnotification.md)
  * [PTExtendedAnnotNameArea](/api-markdown-test/api-docs/ios/constants/ptextendedannotnamearea.md)
  * [PTExtendedAnnotNameCallout](/api-markdown-test/api-docs/ios/constants/ptextendedannotnamecallout.md)
  * [PTExtendedAnnotNameCheckBox](/api-markdown-test/api-docs/ios/constants/ptextendedannotnamecheckbox.md)
  * [PTExtendedAnnotNameComboBox](/api-markdown-test/api-docs/ios/constants/ptextendedannotnamecombobox.md)
  * [PTExtendedAnnotNameCount](/api-markdown-test/api-docs/ios/constants/ptextendedannotnamecount.md)
  * [PTExtendedAnnotNameDateText](/api-markdown-test/api-docs/ios/constants/ptextendedannotnamedatetext.md)
  * [PTExtendedAnnotNameEraser](/api-markdown-test/api-docs/ios/constants/ptextendedannotnameeraser.md)
  * [PTExtendedAnnotNameFreehandHighlight](/api-markdown-test/api-docs/ios/constants/ptextendedannotnamefreehandhighlight.md)
  * [PTExtendedAnnotNameImageStamp](/api-markdown-test/api-docs/ios/constants/ptextendedannotnameimagestamp.md)
  * [PTExtendedAnnotNameListBox](/api-markdown-test/api-docs/ios/constants/ptextendedannotnamelistbox.md)
  * [PTExtendedAnnotNamePencilDrawing](/api-markdown-test/api-docs/ios/constants/ptextendedannotnamepencildrawing.md)
  * [PTExtendedAnnotNamePerimeter](/api-markdown-test/api-docs/ios/constants/ptextendedannotnameperimeter.md)
  * [PTExtendedAnnotNameRadioButton](/api-markdown-test/api-docs/ios/constants/ptextendedannotnameradiobutton.md)
  * [PTExtendedAnnotNameRuler](/api-markdown-test/api-docs/ios/constants/ptextendedannotnameruler.md)
  * [PTExtendedAnnotNameSignatureField](/api-markdown-test/api-docs/ios/constants/ptextendedannotnamesignaturefield.md)
  * [PTExtendedAnnotNameSpacingText](/api-markdown-test/api-docs/ios/constants/ptextendedannotnamespacingtext.md)
  * [PTExtendedAnnotNameTextField](/api-markdown-test/api-docs/ios/constants/ptextendedannotnametextfield.md)
  * [PTExtendedAnnotNameTextRedact](/api-markdown-test/api-docs/ios/constants/ptextendedannotnametextredact.md)
  * [PTFeatureAddPagesFromDocumentKey](/api-markdown-test/api-docs/ios/constants/ptfeatureaddpagesfromdocumentkey.md)
  * [PTFeatureAnnotatedExportKey](/api-markdown-test/api-docs/ios/constants/ptfeatureannotatedexportkey.md)
  * [PTFeatureAnnotationOnReflowKey](/api-markdown-test/api-docs/ios/constants/ptfeatureannotationonreflowkey.md)
  * [PTFeatureAnnotationSmartHighlighterKey](/api-markdown-test/api-docs/ios/constants/ptfeatureannotationsmarthighlighterkey.md)
  * [PTFeatureAnnotationSmartPenKey](/api-markdown-test/api-docs/ios/constants/ptfeatureannotationsmartpenkey.md)
  * [PTFeatureBulkProcessingKey](/api-markdown-test/api-docs/ios/constants/ptfeaturebulkprocessingkey.md)
  * [PTFeatureConvertToHTMLKey](/api-markdown-test/api-docs/ios/constants/ptfeatureconverttohtmlkey.md)
  * [PTFeatureConvertToolbarKey](/api-markdown-test/api-docs/ios/constants/ptfeatureconverttoolbarkey.md)
  * [PTFeatureCroppedExportKey](/api-markdown-test/api-docs/ios/constants/ptfeaturecroppedexportkey.md)
  * [PTFeatureDetectFormsKey](/api-markdown-test/api-docs/ios/constants/ptfeaturedetectformskey.md)
  * [PTFeatureEditableOutlineKey](/api-markdown-test/api-docs/ios/constants/ptfeatureeditableoutlinekey.md)
  * [PTFeatureFavoriteToolbarKey](/api-markdown-test/api-docs/ios/constants/ptfeaturefavoritetoolbarkey.md)
  * [PTFeatureFilesPageProButton](/api-markdown-test/api-docs/ios/constants/ptfeaturefilespageprobutton.md)
  * [PTFeatureFormsToolbarKey](/api-markdown-test/api-docs/ios/constants/ptfeatureformstoolbarkey.md)
  * [PTFeatureGateDidUpdateFeatureAvailabilityNotification](/api-markdown-test/api-docs/ios/constants/ptfeaturegatedidupdatefeatureavailabilitynotification.md)
  * [PTFeatureHighCompressionKey](/api-markdown-test/api-docs/ios/constants/ptfeaturehighcompressionkey.md)
  * [PTFeatureIntroPage2ProButton](/api-markdown-test/api-docs/ios/constants/ptfeatureintropage2probutton.md)
  * [PTFeatureIntroPageProButton](/api-markdown-test/api-docs/ios/constants/ptfeatureintropageprobutton.md)
  * [PTFeatureMyXodoBannerKey](/api-markdown-test/api-docs/ios/constants/ptfeaturemyxodobannerkey.md)
  * [PTFeatureMyXodoProButton](/api-markdown-test/api-docs/ios/constants/ptfeaturemyxodoprobutton.md)
  * [PTFeatureOCRKey](/api-markdown-test/api-docs/ios/constants/ptfeatureocrkey.md)
  * [PTFeatureOcgSublayersKey](/api-markdown-test/api-docs/ios/constants/ptfeatureocgsublayerskey.md)
  * [PTFeatureOptimizedExportKey](/api-markdown-test/api-docs/ios/constants/ptfeatureoptimizedexportkey.md)
  * [PTFeaturePromotion](/api-markdown-test/api-docs/ios/constants/ptfeaturepromotion.md)
  * [PTFeatureReactivation](/api-markdown-test/api-docs/ios/constants/ptfeaturereactivation.md)
  * [PTFeatureRedactToolbarKey](/api-markdown-test/api-docs/ios/constants/ptfeatureredacttoolbarkey.md)
  * [PTFeatureSettingsBannerKey](/api-markdown-test/api-docs/ios/constants/ptfeaturesettingsbannerkey.md)
  * [PTFeatureToolboxProButton](/api-markdown-test/api-docs/ios/constants/ptfeaturetoolboxprobutton.md)
  * [PTFeatureUnlimitedActionsKey](/api-markdown-test/api-docs/ios/constants/ptfeatureunlimitedactionskey.md)
  * [PTFeatureViewerProButton](/api-markdown-test/api-docs/ios/constants/ptfeatureviewerprobutton.md)
  * [PTFeatureWatermarkKey](/api-markdown-test/api-docs/ios/constants/ptfeaturewatermarkkey.md)
  * [PTFlattenedAnnotationsUserInfoKey](/api-markdown-test/api-docs/ios/constants/ptflattenedannotationsuserinfokey.md)
  * [PTFreeTextAnnotationRotationDegreeIdentifier](/api-markdown-test/api-docs/ios/constants/ptfreetextannotationrotationdegreeidentifier.md)
  * [PTImageStampAnnotationIdentifier](/api-markdown-test/api-docs/ios/constants/ptimagestampannotationidentifier.md)
  * [PTImageStampAnnotationRotationDegreeIdentifier](/api-markdown-test/api-docs/ios/constants/ptimagestampannotationrotationdegreeidentifier.md)
  * [PTImageStampAnnotationRotationIdentifier](/api-markdown-test/api-docs/ios/constants/ptimagestampannotationrotationidentifier.md)
  * [PTInvalidPDFPageNumber](/api-markdown-test/api-docs/ios/constants/ptinvalidpdfpagenumber.md)
  * [PTLastSelectedSignatureKey](/api-markdown-test/api-docs/ios/constants/ptlastselectedsignaturekey.md)
  * [PTLinkToWebKey](/api-markdown-test/api-docs/ios/constants/ptlinktowebkey.md)
  * [PTMeasurementUnitCentimeters](/api-markdown-test/api-docs/ios/constants/ptmeasurementunitcentimeters.md)
  * [PTMeasurementUnitFeet](/api-markdown-test/api-docs/ios/constants/ptmeasurementunitfeet.md)
  * [PTMeasurementUnitInches](/api-markdown-test/api-docs/ios/constants/ptmeasurementunitinches.md)
  * [PTMeasurementUnitKilometers](/api-markdown-test/api-docs/ios/constants/ptmeasurementunitkilometers.md)
  * [PTMeasurementUnitMeters](/api-markdown-test/api-docs/ios/constants/ptmeasurementunitmeters.md)
  * [PTMeasurementUnitMiles](/api-markdown-test/api-docs/ios/constants/ptmeasurementunitmiles.md)
  * [PTMeasurementUnitMillimeters](/api-markdown-test/api-docs/ios/constants/ptmeasurementunitmillimeters.md)
  * [PTMeasurementUnitNauticalMiles](/api-markdown-test/api-docs/ios/constants/ptmeasurementunitnauticalmiles.md)
  * [PTMeasurementUnitPoints](/api-markdown-test/api-docs/ios/constants/ptmeasurementunitpoints.md)
  * [PTMeasurementUnitYards](/api-markdown-test/api-docs/ios/constants/ptmeasurementunityards.md)
  * [PTModifiedAnnotationsUserInfoKey](/api-markdown-test/api-docs/ios/constants/ptmodifiedannotationsuserinfokey.md)
  * [PTNavigationHistoryDidChangeNotification](/api-markdown-test/api-docs/ios/constants/ptnavigationhistorydidchangenotification.md)
  * [PTNavigationHistoryWillChangeNotification](/api-markdown-test/api-docs/ios/constants/ptnavigationhistorywillchangenotification.md)
  * [PTPDFDocumentExternalChangeNotification](/api-markdown-test/api-docs/ios/constants/ptpdfdocumentexternalchangenotification.md)
  * [PTPDFDocumentFileDidMoveNotification](/api-markdown-test/api-docs/ios/constants/ptpdfdocumentfiledidmovenotification.md)
  * [PTPDFDocumentManagerErrorDomain](/api-markdown-test/api-docs/ios/constants/ptpdfdocumentmanagererrordomain.md)
  * [PTPDFDocumentNeedsReloadContentsNotification](/api-markdown-test/api-docs/ios/constants/ptpdfdocumentneedsreloadcontentsnotification.md)
  * [PTPDFDocumentReadOptionCacheFilesDirectory](/api-markdown-test/api-docs/ios/constants/ptpdfdocumentreadoptioncachefilesdirectory.md)
  * [PTPDFDocumentReadOptionUseCacheFile](/api-markdown-test/api-docs/ios/constants/ptpdfdocumentreadoptionusecachefile.md)
  * [PTPDFDocumentURLUserInfoKey](/api-markdown-test/api-docs/ios/constants/ptpdfdocumenturluserinfokey.md)
  * [PTPDFDocumentWriteOptionSaveFlags](/api-markdown-test/api-docs/ios/constants/ptpdfdocumentwriteoptionsaveflags.md)
  * [PTPDFNetBundleIdentifier](/api-markdown-test/api-docs/ios/constants/ptpdfnetbundleidentifier.md)
  * [PTPDFNetErrorDomain](/api-markdown-test/api-docs/ios/constants/ptpdfneterrordomain.md)
  * [PTPDFNetExceptionErrorCodeUserInfoKey](/api-markdown-test/api-docs/ios/constants/ptpdfnetexceptionerrorcodeuserinfokey.md)
  * [PTPDFNetExceptionFileNameUserInfoKey](/api-markdown-test/api-docs/ios/constants/ptpdfnetexceptionfilenameuserinfokey.md)
  * [PTPDFNetExceptionFunctionUserInfoKey](/api-markdown-test/api-docs/ios/constants/ptpdfnetexceptionfunctionuserinfokey.md)
  * [PTPDFNetExceptionLineNumberUserInfoKey](/api-markdown-test/api-docs/ios/constants/ptpdfnetexceptionlinenumberuserinfokey.md)
  * [PTPDFNetExceptionMessageUserInfoKey](/api-markdown-test/api-docs/ios/constants/ptpdfnetexceptionmessageuserinfokey.md)
  * [PTPDFNetExceptionName](/api-markdown-test/api-docs/ios/constants/ptpdfnetexceptionname.md)
  * [PTPDFViewCtrlActionParameterUserInfoKey](/api-markdown-test/api-docs/ios/constants/ptpdfviewctrlactionparameteruserinfokey.md)
  * [PTPDFViewCtrlBlackColorUserInfoKey](/api-markdown-test/api-docs/ios/constants/ptpdfviewctrlblackcoloruserinfokey.md)
  * [PTPDFViewCtrlColorPostProcessModeDidChangeNotification](/api-markdown-test/api-docs/ios/constants/ptpdfviewctrlcolorpostprocessmodedidchangenotification.md)
  * [PTPDFViewCtrlColorPostProcessModeUserInfoKey](/api-markdown-test/api-docs/ios/constants/ptpdfviewctrlcolorpostprocessmodeuserinfokey.md)
  * [PTPDFViewCtrlDidCloseDocNotification](/api-markdown-test/api-docs/ios/constants/ptpdfviewctrldidclosedocnotification.md)
  * [PTPDFViewCtrlDidExecuteActionNotification](/api-markdown-test/api-docs/ios/constants/ptpdfviewctrldidexecuteactionnotification.md)
  * [PTPDFViewCtrlDidSetDocNotification](/api-markdown-test/api-docs/ios/constants/ptpdfviewctrldidsetdocnotification.md)
  * [PTPDFViewCtrlPDFDocUserInfoKey](/api-markdown-test/api-docs/ios/constants/ptpdfviewctrlpdfdocuserinfokey.md)
  * [PTPDFViewCtrlPageNumberUserInfoKey](/api-markdown-test/api-docs/ios/constants/ptpdfviewctrlpagenumberuserinfokey.md)
  * [PTPDFViewCtrlPagePresentationModeDidChangeNotification](/api-markdown-test/api-docs/ios/constants/ptpdfviewctrlpagepresentationmodedidchangenotification.md)
  * [PTPDFViewCtrlPagePresentationModeUserInfoKey](/api-markdown-test/api-docs/ios/constants/ptpdfviewctrlpagepresentationmodeuserinfokey.md)
  * [PTPDFViewCtrlStreamingEventMessageUserInfoKey](/api-markdown-test/api-docs/ios/constants/ptpdfviewctrlstreamingeventmessageuserinfokey.md)
  * [PTPDFViewCtrlStreamingEventNotification](/api-markdown-test/api-docs/ios/constants/ptpdfviewctrlstreamingeventnotification.md)
  * [PTPDFViewCtrlStreamingEventTypeUserInfoKey](/api-markdown-test/api-docs/ios/constants/ptpdfviewctrlstreamingeventtypeuserinfokey.md)
  * [PTPDFViewCtrlWhiteColorUserInfoKey](/api-markdown-test/api-docs/ios/constants/ptpdfviewctrlwhitecoloruserinfokey.md)
  * [PTPDFViewCtrlWillExecuteActionNotification](/api-markdown-test/api-docs/ios/constants/ptpdfviewctrlwillexecuteactionnotification.md)
  * [PTPDFViewCtrlWillSetDocNotification](/api-markdown-test/api-docs/ios/constants/ptpdfviewctrlwillsetdocnotification.md)
  * [PTPencilDrawingAnnotationIdentifier](/api-markdown-test/api-docs/ios/constants/ptpencildrawingannotationidentifier.md)
  * [PTRadioButtonHeightKey](/api-markdown-test/api-docs/ios/constants/ptradiobuttonheightkey.md)
  * [PTRadioButtonWidthKey](/api-markdown-test/api-docs/ios/constants/ptradiobuttonwidthkey.md)
  * [PTReflowModeScrollingDirectionKey](/api-markdown-test/api-docs/ios/constants/ptreflowmodescrollingdirectionkey.md)
  * [PTRemoveWatermarkKey](/api-markdown-test/api-docs/ios/constants/ptremovewatermarkkey.md)
  * [PTRemovedAnnotationsUserInfoKey](/api-markdown-test/api-docs/ios/constants/ptremovedannotationsuserinfokey.md)
  * [PTRichTextParagraphVerticalAlignmentAttributeName](/api-markdown-test/api-docs/ios/constants/ptrichtextparagraphverticalalignmentattributename.md)
  * [PTRubberStampKeyBorderColor](/api-markdown-test/api-docs/ios/constants/ptrubberstampkeybordercolor.md)
  * [PTRubberStampKeyFillColorEnd](/api-markdown-test/api-docs/ios/constants/ptrubberstampkeyfillcolorend.md)
  * [PTRubberStampKeyFillColorStart](/api-markdown-test/api-docs/ios/constants/ptrubberstampkeyfillcolorstart.md)
  * [PTRubberStampKeyFillOpacity](/api-markdown-test/api-docs/ios/constants/ptrubberstampkeyfillopacity.md)
  * [PTRubberStampKeyPointingLeft](/api-markdown-test/api-docs/ios/constants/ptrubberstampkeypointingleft.md)
  * [PTRubberStampKeyPointingRight](/api-markdown-test/api-docs/ios/constants/ptrubberstampkeypointingright.md)
  * [PTRubberStampKeyText](/api-markdown-test/api-docs/ios/constants/ptrubberstampkeytext.md)
  * [PTRubberStampKeyTextBelow](/api-markdown-test/api-docs/ios/constants/ptrubberstampkeytextbelow.md)
  * [PTRubberStampKeyTextColor](/api-markdown-test/api-docs/ios/constants/ptrubberstampkeytextcolor.md)
  * [PTShareWatermarkKey](/api-markdown-test/api-docs/ios/constants/ptsharewatermarkkey.md)
  * [PTSignatureAnnotationIdentifier](/api-markdown-test/api-docs/ios/constants/ptsignatureannotationidentifier.md)
  * [PTSpacingTextKernKey](/api-markdown-test/api-docs/ios/constants/ptspacingtextkernkey.md)
  * [PTStampCheckMarkSizeKey](/api-markdown-test/api-docs/ios/constants/ptstampcheckmarksizekey.md)
  * [PTStampCrossMarkSizeKey](/api-markdown-test/api-docs/ios/constants/ptstampcrossmarksizekey.md)
  * [PTStampDotSizeKey](/api-markdown-test/api-docs/ios/constants/ptstampdotsizekey.md)
  * [PTStampTypeCheckMark](/api-markdown-test/api-docs/ios/constants/ptstamptypecheckmark.md)
  * [PTStampTypeCrossMark](/api-markdown-test/api-docs/ios/constants/ptstamptypecrossmark.md)
  * [PTStampTypeDot](/api-markdown-test/api-docs/ios/constants/ptstamptypedot.md)
  * [PTStampTypeKey](/api-markdown-test/api-docs/ios/constants/ptstamptypekey.md)
  * [PTStoreNewSignatureKey](/api-markdown-test/api-docs/ios/constants/ptstorenewsignaturekey.md)
  * [PTTextAnnotationTypeDate](/api-markdown-test/api-docs/ios/constants/pttextannotationtypedate.md)
  * [PTTextAnnotationTypeKey](/api-markdown-test/api-docs/ios/constants/pttextannotationtypekey.md)
  * [PTTextAnnotationTypeSpacing](/api-markdown-test/api-docs/ios/constants/pttextannotationtypespacing.md)
  * [PTTextSearchEndAtLastPageNumber](/api-markdown-test/api-docs/ios/constants/pttextsearchendatlastpagenumber.md)
  * [PTTextSearchManagerInteractiveSearchDidBeginNotification](/api-markdown-test/api-docs/ios/constants/pttextsearchmanagerinteractivesearchdidbeginnotification.md)
  * [PTTextSearchManagerInteractiveSearchDidEndNotification](/api-markdown-test/api-docs/ios/constants/pttextsearchmanagerinteractivesearchdidendnotification.md)
  * [PTTextSearchMatchCaseKey](/api-markdown-test/api-docs/ios/constants/pttextsearchmatchcasekey.md)
  * [PTTextSearchMatchWholeWordKey](/api-markdown-test/api-docs/ios/constants/pttextsearchmatchwholewordkey.md)
  * [PTTextSearchStartAtFirstPageNumber](/api-markdown-test/api-docs/ios/constants/pttextsearchstartatfirstpagenumber.md)
  * [PTThumbnailFilterAll](/api-markdown-test/api-docs/ios/constants/ptthumbnailfilterall.md)
  * [PTThumbnailFilterAnnotated](/api-markdown-test/api-docs/ios/constants/ptthumbnailfilterannotated.md)
  * [PTThumbnailFilterBookmarked](/api-markdown-test/api-docs/ios/constants/ptthumbnailfilterbookmarked.md)
  * [PTThumbnailViewLayoutDefaultSpacing](/api-markdown-test/api-docs/ios/constants/ptthumbnailviewlayoutdefaultspacing.md)
  * [PTToolGroupDidChangeNotification](/api-markdown-test/api-docs/ios/constants/pttoolgroupdidchangenotification.md)
  * [PTToolManagerAnnotationFlattenedNotification](/api-markdown-test/api-docs/ios/constants/pttoolmanagerannotationflattenednotification.md)
  * [PTToolManagerAnnotationWillFlattenNotification](/api-markdown-test/api-docs/ios/constants/pttoolmanagerannotationwillflattennotification.md)
  * [PTToolManagerAnnotationWillModifyNotification](/api-markdown-test/api-docs/ios/constants/pttoolmanagerannotationwillmodifynotification.md)
  * [PTToolManagerAnnotationWillRemoveNotification](/api-markdown-test/api-docs/ios/constants/pttoolmanagerannotationwillremovenotification.md)
  * [PTToolManagerDidCopyTextNotification](/api-markdown-test/api-docs/ios/constants/pttoolmanagerdidcopytextnotification.md)
  * [PTToolManagerPageAddedNotification](/api-markdown-test/api-docs/ios/constants/pttoolmanagerpageaddednotification.md)
  * [PTToolManagerPageMovedNotification](/api-markdown-test/api-docs/ios/constants/pttoolmanagerpagemovednotification.md)
  * [PTToolManagerPageNumbersUserInfoKey](/api-markdown-test/api-docs/ios/constants/pttoolmanagerpagenumbersuserinfokey.md)
  * [PTToolManagerPageRemovedNotification](/api-markdown-test/api-docs/ios/constants/pttoolmanagerpageremovednotification.md)
  * [PTToolManagerPagesDidRotateNotification](/api-markdown-test/api-docs/ios/constants/pttoolmanagerpagesdidrotatenotification.md)
  * [PTToolManagerPagesWillRotateNotification](/api-markdown-test/api-docs/ios/constants/pttoolmanagerpageswillrotatenotification.md)
  * [PTToolManagerPasteboardUserInfoKey](/api-markdown-test/api-docs/ios/constants/pttoolmanagerpasteboarduserinfokey.md)
  * [PTToolManagerPreviousPageNumberUserInfoKey](/api-markdown-test/api-docs/ios/constants/pttoolmanagerpreviouspagenumberuserinfokey.md)
  * [PTToolManagerTextUserInfoKey](/api-markdown-test/api-docs/ios/constants/pttoolmanagertextuserinfokey.md)
  * [PTToolManagerToolUserInfoKey](/api-markdown-test/api-docs/ios/constants/pttoolmanagertooluserinfokey.md)
  * [PTToolManagerToolWillChangeNotification](/api-markdown-test/api-docs/ios/constants/pttoolmanagertoolwillchangenotification.md)
  * [PTToolManagerWillCopyTextNotification](/api-markdown-test/api-docs/ios/constants/pttoolmanagerwillcopytextnotification.md)
  * [PTToolsSettingsCategoryDefaultValueKey](/api-markdown-test/api-docs/ios/constants/pttoolssettingscategorydefaultvaluekey.md)
  * [PTToolsSettingsCategoryDescriptionKey](/api-markdown-test/api-docs/ios/constants/pttoolssettingscategorydescriptionkey.md)
  * [PTToolsSettingsCategoryKey](/api-markdown-test/api-docs/ios/constants/pttoolssettingscategorykey.md)
  * [PTToolsSettingsFooterDescriptionKey](/api-markdown-test/api-docs/ios/constants/pttoolssettingsfooterdescriptionkey.md)
  * [PTToolsSettingsMinOSKey](/api-markdown-test/api-docs/ios/constants/pttoolssettingsminoskey.md)
  * [PTToolsSettingsMultivalueKey](/api-markdown-test/api-docs/ios/constants/pttoolssettingsmultivaluekey.md)
  * [PTToolsSettingsPlistNameKey](/api-markdown-test/api-docs/ios/constants/pttoolssettingsplistnamekey.md)
  * [PTToolsSettingsSettingKey](/api-markdown-test/api-docs/ios/constants/pttoolssettingssettingkey.md)
  * [PTToolsSettingsSettingKeyKey](/api-markdown-test/api-docs/ios/constants/pttoolssettingssettingkeykey.md)
  * [PTToolsSettingsSettingNameKey](/api-markdown-test/api-docs/ios/constants/pttoolssettingssettingnamekey.md)
  * [PTToolsSettingsUnavailableKey](/api-markdown-test/api-docs/ios/constants/pttoolssettingsunavailablekey.md)
  * [PTUndoRedoManagerDidRedoNotification](/api-markdown-test/api-docs/ios/constants/ptundoredomanagerdidredonotification.md)
  * [PTUndoRedoManagerDidUndoNotification](/api-markdown-test/api-docs/ios/constants/ptundoredomanagerdidundonotification.md)
  * [PTUndoRedoManagerInfoUserInfoKey](/api-markdown-test/api-docs/ios/constants/ptundoredomanagerinfouserinfokey.md)
  * [PTUndoRedoManagerWillRedoNotification](/api-markdown-test/api-docs/ios/constants/ptundoredomanagerwillredonotification.md)
  * [PTUndoRedoManagerWillUndoNotification](/api-markdown-test/api-docs/ios/constants/ptundoredomanagerwillundonotification.md)
  * [PTXFDFUserInfoKey](/api-markdown-test/api-docs/ios/constants/ptxfdfuserinfokey.md)
* [Other Enumerations](/api-markdown-test/api-docs/ios/general/other-enums.md)
  * [PTActionType](/api-markdown-test/api-docs/ios/enums/ptactiontype.md)
  * [PTAnnotActionTriggerEvent](/api-markdown-test/api-docs/ios/enums/ptannotactiontriggerevent.md)
  * [PTAnnotBarButton](/api-markdown-test/api-docs/ios/enums/ptannotbarbutton.md)
  * [PTAnnotBitmapFlags](/api-markdown-test/api-docs/ios/enums/ptannotbitmapflags.md)
  * [PTAnnotFlag](/api-markdown-test/api-docs/ios/enums/ptannotflag.md)
  * [PTAnnotReplyType](/api-markdown-test/api-docs/ios/enums/ptannotreplytype.md)
  * [PTAnnotVectorMode](/api-markdown-test/api-docs/ios/enums/ptannotvectormode.md)
  * [PTAnnotationEditMode](/api-markdown-test/api-docs/ios/enums/ptannotationeditmode.md)
  * [PTAnnotationOutputFlag](/api-markdown-test/api-docs/ios/enums/ptannotationoutputflag.md)
  * [PTAnnotationState](/api-markdown-test/api-docs/ios/enums/ptannotationstate.md)
  * [PTAnnotationViewCellIndicatorAlignment](/api-markdown-test/api-docs/ios/enums/ptannotationviewcellindicatoralignment.md)
  * [PTBdStyle](/api-markdown-test/api-docs/ios/enums/ptbdstyle.md)
  * [PTBlendMode](/api-markdown-test/api-docs/ios/enums/ptblendmode.md)
  * [PTBookmarkViewCellIndicatorAlignment](/api-markdown-test/api-docs/ios/enums/ptbookmarkviewcellindicatoralignment.md)
  * [PTBox](/api-markdown-test/api-docs/ios/enums/ptbox.md)
  * [PTCADLayoutSortOrder](/api-markdown-test/api-docs/ios/enums/ptcadlayoutsortorder.md)
  * [PTCMSType](/api-markdown-test/api-docs/ios/enums/ptcmstype.md)
  * [PTCharacterOrdering](/api-markdown-test/api-docs/ios/enums/ptcharacterordering.md)
  * [PTColorPostProcessMode](/api-markdown-test/api-docs/ios/enums/ptcolorpostprocessmode.md)
  * [PTColorSpaceType](/api-markdown-test/api-docs/ios/enums/ptcolorspacetype.md)
  * [PTCompressionMode](/api-markdown-test/api-docs/ios/enums/ptcompressionmode.md)
  * [PTConnectionErrorHandlingMode](/api-markdown-test/api-docs/ios/enums/ptconnectionerrorhandlingmode.md)
  * [PTDataExtractionEngine](/api-markdown-test/api-docs/ios/enums/ptdataextractionengine.md)
  * [PTDigestAlgorithmType](/api-markdown-test/api-docs/ios/enums/ptdigestalgorithmtype.md)
  * [PTDigitalSignatureFieldDocumentPermissions](/api-markdown-test/api-docs/ios/enums/ptdigitalsignaturefielddocumentpermissions.md)
  * [PTDigitalSignatureFieldFieldPermissions](/api-markdown-test/api-docs/ios/enums/ptdigitalsignaturefieldfieldpermissions.md)
  * [PTDigitalSignatureFieldSubFilterType](/api-markdown-test/api-docs/ios/enums/ptdigitalsignaturefieldsubfiltertype.md)
  * [PTDisallowedChangeType](/api-markdown-test/api-docs/ios/enums/ptdisallowedchangetype.md)
  * [PTDocumentConversionResult](/api-markdown-test/api-docs/ios/enums/ptdocumentconversionresult.md)
  * [PTDownloadedType](/api-markdown-test/api-docs/ios/enums/ptdownloadedtype.md)
  * [PTDownsampleMode](/api-markdown-test/api-docs/ios/enums/ptdownsamplemode.md)
  * [PTElementType](/api-markdown-test/api-docs/ios/enums/ptelementtype.md)
  * [PTEncoding](/api-markdown-test/api-docs/ios/enums/ptencoding.md)
  * [PTExtendedAnnotType](/api-markdown-test/api-docs/ios/enums/ptextendedannottype.md)
  * [PTExternalAnnotManagerMode](/api-markdown-test/api-docs/ios/enums/ptexternalannotmanagermode.md)
  * [PTExtractFlag](/api-markdown-test/api-docs/ios/enums/ptextractflag.md)
  * [PTFitType](/api-markdown-test/api-docs/ios/enums/ptfittype.md)
  * [PTFlateCompressionLevel](/api-markdown-test/api-docs/ios/enums/ptflatecompressionlevel.md)
  * [PTFlattenFlag](/api-markdown-test/api-docs/ios/enums/ptflattenflag.md)
  * [PTFlattenMode](/api-markdown-test/api-docs/ios/enums/ptflattenmode.md)
  * [PTFlattenThresholdFlag](/api-markdown-test/api-docs/ios/enums/ptflattenthresholdflag.md)
  * [PTFontType](/api-markdown-test/api-docs/ios/enums/ptfonttype.md)
  * [PTFormActionFlag](/api-markdown-test/api-docs/ios/enums/ptformactionflag.md)
  * [PTFunctionType](/api-markdown-test/api-docs/ios/enums/ptfunctiontype.md)
  * [PTGStateAttribute](/api-markdown-test/api-docs/ios/enums/ptgstateattribute.md)
  * [PTGeometryCollectionSnappingMode](/api-markdown-test/api-docs/ios/enums/ptgeometrycollectionsnappingmode.md)
  * [PTGrabberOrientation](/api-markdown-test/api-docs/ios/enums/ptgrabberorientation.md)
  * [PTHTMLContentReflowSetting](/api-markdown-test/api-docs/ios/enums/pthtmlcontentreflowsetting.md)
  * [PTHTMLSearchableImageSetting](/api-markdown-test/api-docs/ios/enums/pthtmlsearchableimagesetting.md)
  * [PTHorizontalAlignment](/api-markdown-test/api-docs/ios/enums/pthorizontalalignment.md)
  * [PTInkEraserMode](/api-markdown-test/api-docs/ios/enums/ptinkerasermode.md)
  * [PTInputFilter](/api-markdown-test/api-docs/ios/enums/ptinputfilter.md)
  * [PTInsertFlag](/api-markdown-test/api-docs/ios/enums/ptinsertflag.md)
  * [PTLanguageChoice](/api-markdown-test/api-docs/ios/enums/ptlanguagechoice.md)
  * [PTLineCap](/api-markdown-test/api-docs/ios/enums/ptlinecap.md)
  * [PTLineJoin](/api-markdown-test/api-docs/ios/enums/ptlinejoin.md)
  * [PTLogLevel](/api-markdown-test/api-docs/ios/enums/ptloglevel.md)
  * [PTLogMessageType](/api-markdown-test/api-docs/ios/enums/ptlogmessagetype.md)
  * [PTLogOutputLevel](/api-markdown-test/api-docs/ios/enums/ptlogoutputlevel.md)
  * [PTMonoCompressionMode](/api-markdown-test/api-docs/ios/enums/ptmonocompressionmode.md)
  * [PTMonoDownsampleMode](/api-markdown-test/api-docs/ios/enums/ptmonodownsamplemode.md)
  * [PTNavigationListsViewControllerVisibility](/api-markdown-test/api-docs/ios/enums/ptnavigationlistsviewcontrollervisibility.md)
  * [PTOverloadedFunction](/api-markdown-test/api-docs/ios/enums/ptoverloadedfunction.md)
  * [PTOverprintPreviewMode](/api-markdown-test/api-docs/ios/enums/ptoverprintpreviewmode.md)
  * [PTPDFAnnotationChangeType](/api-markdown-test/api-docs/ios/enums/ptpdfannotationchangetype.md)
  * [PTPDFDocActionTriggerEvent](/api-markdown-test/api-docs/ios/enums/ptpdfdocactiontriggerevent.md)
  * [PTPDFDocumentManagerErrorCode](/api-markdown-test/api-docs/ios/enums/ptpdfdocumentmanagererrorcode.md)
  * [PTPDFViewCtrlPagingDirection](/api-markdown-test/api-docs/ios/enums/ptpdfviewctrlpagingdirection.md)
  * [PTPageActionTriggerEvent](/api-markdown-test/api-docs/ios/enums/ptpageactiontriggerevent.md)
  * [PTPageLabelStyle](/api-markdown-test/api-docs/ios/enums/ptpagelabelstyle.md)
  * [PTPageLayout](/api-markdown-test/api-docs/ios/enums/ptpagelayout.md)
  * [PTPageMode](/api-markdown-test/api-docs/ios/enums/ptpagemode.md)
  * [PTPagePresentationMode](/api-markdown-test/api-docs/ios/enums/ptpagepresentationmode.md)
  * [PTPageSetFilter](/api-markdown-test/api-docs/ios/enums/ptpagesetfilter.md)
  * [PTPageTemplateStyle](/api-markdown-test/api-docs/ios/enums/ptpagetemplatestyle.md)
  * [PTPageViewMode](/api-markdown-test/api-docs/ios/enums/ptpageviewmode.md)
  * [PTPanelPosition](/api-markdown-test/api-docs/ios/enums/ptpanelposition.md)
  * [PTPathSegmentType](/api-markdown-test/api-docs/ios/enums/ptpathsegmenttype.md)
  * [PTPatternColorType](/api-markdown-test/api-docs/ios/enums/ptpatterncolortype.md)
  * [PTPencilInteractionMode](/api-markdown-test/api-docs/ios/enums/ptpencilinteractionmode.md)
  * [PTPixelFormat](/api-markdown-test/api-docs/ios/enums/ptpixelformat.md)
  * [PTPredefined](/api-markdown-test/api-docs/ios/enums/ptpredefined.md)
  * [PTPreferredOCREngine](/api-markdown-test/api-docs/ios/enums/ptpreferredocrengine.md)
  * [PTProcessingFlags](/api-markdown-test/api-docs/ios/enums/ptprocessingflags.md)
  * [PTRasterizerType](/api-markdown-test/api-docs/ios/enums/ptrasterizertype.md)
  * [PTReferencePos](/api-markdown-test/api-docs/ios/enums/ptreferencepos.md)
  * [PTReflowMode](/api-markdown-test/api-docs/ios/enums/ptreflowmode.md)
  * [PTReflowViewControllerScrollingDirection](/api-markdown-test/api-docs/ios/enums/ptreflowviewcontrollerscrollingdirection.md)
  * [PTRenderingIntent](/api-markdown-test/api-docs/ios/enums/ptrenderingintent.md)
  * [PTResizeHandleLocation](/api-markdown-test/api-docs/ios/enums/ptresizehandlelocation.md)
  * [PTResultState](/api-markdown-test/api-docs/ios/enums/ptresultstate.md)
  * [PTRichTextParagraphVerticalAlignment](/api-markdown-test/api-docs/ios/enums/ptrichtextparagraphverticalalignment.md)
  * [PTRotate](/api-markdown-test/api-docs/ios/enums/ptrotate.md)
  * [PTRotateHandleLocation](/api-markdown-test/api-docs/ios/enums/ptrotatehandlelocation.md)
  * [PTShadingType](/api-markdown-test/api-docs/ios/enums/ptshadingtype.md)
  * [PTShapingFailureReason](/api-markdown-test/api-docs/ios/enums/ptshapingfailurereason.md)
  * [PTShapingStatus](/api-markdown-test/api-docs/ios/enums/ptshapingstatus.md)
  * [PTSignatureType](/api-markdown-test/api-docs/ios/enums/ptsignaturetype.md)
  * [PTSignaturesVerificationStatus](/api-markdown-test/api-docs/ios/enums/ptsignaturesverificationstatus.md)
  * [PTSizeType](/api-markdown-test/api-docs/ios/enums/ptsizetype.md)
  * [PTStandardType1Font](/api-markdown-test/api-docs/ios/enums/ptstandardtype1font.md)
  * [PTStrokeStyle](/api-markdown-test/api-docs/ios/enums/ptstrokestyle.md)
  * [PTTemplateDocumentResult](/api-markdown-test/api-docs/ios/enums/pttemplatedocumentresult.md)
  * [PTTextAlignment](/api-markdown-test/api-docs/ios/enums/pttextalignment.md)
  * [PTTextJustification](/api-markdown-test/api-docs/ios/enums/pttextjustification.md)
  * [PTTextRenderingMode](/api-markdown-test/api-docs/ios/enums/pttextrenderingmode.md)
  * [PTTextSearchDirection](/api-markdown-test/api-docs/ios/enums/pttextsearchdirection.md)
  * [PTTextSelectionMode](/api-markdown-test/api-docs/ios/enums/pttextselectionmode.md)
  * [PTThreshold](/api-markdown-test/api-docs/ios/enums/ptthreshold.md)
  * [PTTilingType](/api-markdown-test/api-docs/ios/enums/pttilingtype.md)
  * [PTToolGroupToolbarAlignment](/api-markdown-test/api-docs/ios/enums/pttoolgrouptoolbaralignment.md)
  * [PTVerificationOptionsCertificateTrustFlag](/api-markdown-test/api-docs/ios/enums/ptverificationoptionscertificatetrustflag.md)
  * [PTVerificationOptionsSecurityLevel](/api-markdown-test/api-docs/ios/enums/ptverificationoptionssecuritylevel.md)
  * [PTVerificationOptionsTimeMode](/api-markdown-test/api-docs/ios/enums/ptverificationoptionstimemode.md)
  * [PTVerificationResultDigestStatus](/api-markdown-test/api-docs/ios/enums/ptverificationresultdigeststatus.md)
  * [PTVerificationResultDocumentStatus](/api-markdown-test/api-docs/ios/enums/ptverificationresultdocumentstatus.md)
  * [PTVerificationResultModificationPermissionsStatus](/api-markdown-test/api-docs/ios/enums/ptverificationresultmodificationpermissionsstatus.md)
  * [PTVerificationResultTrustStatus](/api-markdown-test/api-docs/ios/enums/ptverificationresulttruststatus.md)
  * [PTVerticalAlignment](/api-markdown-test/api-docs/ios/enums/ptverticalalignment.md)
  * [PTViewerPref](/api-markdown-test/api-docs/ios/enums/ptviewerpref.md)
  * [PTWordOutputFormat](/api-markdown-test/api-docs/ios/enums/ptwordoutputformat.md)
  * [PTWordSearchableImageSetting](/api-markdown-test/api-docs/ios/enums/ptwordsearchableimagesetting.md)
  * [PTWriteMode](/api-markdown-test/api-docs/ios/enums/ptwritemode.md)
  * [PTXMLOutputFlags](/api-markdown-test/api-docs/ios/enums/ptxmloutputflags.md)
  * [PTXPSOverprintPreviewMode](/api-markdown-test/api-docs/ios/enums/ptxpsoverprintpreviewmode.md)
  * [TrnPagePresentationMode](/api-markdown-test/api-docs/ios/enums/trnpagepresentationmode.md)
  * [TrnPageViewMode](/api-markdown-test/api-docs/ios/enums/trnpageviewmode.md)
  * [TrnZoomLimitMode](/api-markdown-test/api-docs/ios/enums/trnzoomlimitmode.md)
* [Other Protocols](/api-markdown-test/api-docs/ios/general/other-protocols.md)
  * [PTAnalyticsHandler](/api-markdown-test/api-docs/ios/protocols/ptanalyticshandler.md)
  * [PTAnnotationAuthorModel](/api-markdown-test/api-docs/ios/protocols/ptannotationauthormodel.md)
  * [PTAnnotationModel](/api-markdown-test/api-docs/ios/protocols/ptannotationmodel.md)
  * [PTAnnotationRefreshAppearanceHandler](/api-markdown-test/api-docs/ios/protocols/ptannotationrefreshappearancehandler.md)
  * [PTAnnotationReplyInputViewControllerDelegate](/api-markdown-test/api-docs/ios/protocols/ptannotationreplyinputviewcontrollerdelegate.md)
  * [PTAnnotationStylePresetsViewDelegate](/api-markdown-test/api-docs/ios/protocols/ptannotationstylepresetsviewdelegate.md)
  * [PTAnnotationViewCellDelegate](/api-markdown-test/api-docs/ios/protocols/ptannotationviewcelldelegate.md)
  * [PTBookmarkViewCellDelegate](/api-markdown-test/api-docs/ios/protocols/ptbookmarkviewcelldelegate.md)
  * [PTCollaborationServerCommunication](/api-markdown-test/api-docs/ios/protocols/ptcollaborationservercommunication.md)
  * [PTCountCreateDelegate](/api-markdown-test/api-docs/ios/protocols/ptcountcreatedelegate.md)
  * [PTCreateRubberStampViewControllerDelegate](/api-markdown-test/api-docs/ios/protocols/ptcreaterubberstampviewcontrollerdelegate.md)
  * [PTCustomTableViewControllerDelegate](/api-markdown-test/api-docs/ios/protocols/ptcustomtableviewcontrollerdelegate.md)
  * [PTDiffViewControllerDelegate](/api-markdown-test/api-docs/ios/protocols/ptdiffviewcontrollerdelegate.md)
  * [PTDigitalSignatureToolDelegate](/api-markdown-test/api-docs/ios/protocols/ptdigitalsignaturetooldelegate.md)
  * [PTDigitalSignaturesViewControllerDelegate](/api-markdown-test/api-docs/ios/protocols/ptdigitalsignaturesviewcontrollerdelegate.md)
  * [PTDocumentModel](/api-markdown-test/api-docs/ios/protocols/ptdocumentmodel.md)
  * [PTDocumentTabTableViewControllerDelegate](/api-markdown-test/api-docs/ios/protocols/ptdocumenttabtableviewcontrollerdelegate.md)
  * [PTDocumentViewSettingsControllerDelegate](/api-markdown-test/api-docs/ios/protocols/ptdocumentviewsettingscontrollerdelegate.md)
  * [PTFeatureGateDelegate](/api-markdown-test/api-docs/ios/protocols/ptfeaturegatedelegate.md)
  * [PTFileAttachmentHandlerDelegate](/api-markdown-test/api-docs/ios/protocols/ptfileattachmenthandlerdelegate.md)
  * [PTFontPickerViewControllerDelegate](/api-markdown-test/api-docs/ios/protocols/ptfontpickerviewcontrollerdelegate.md)
  * [PTLegacyAnnotationViewControllerDelegate](/api-markdown-test/api-docs/ios/protocols/ptlegacyannotationviewcontrollerdelegate.md)
  * [PTLinkPopupViewControllerDelegate](/api-markdown-test/api-docs/ios/protocols/ptlinkpopupviewcontrollerdelegate.md)
  * [PTMultiAnnotStyleViewControllerDelegate](/api-markdown-test/api-docs/ios/protocols/ptmultiannotstyleviewcontrollerdelegate.md)
  * [PTPDFAnnotationBorderAppearance](/api-markdown-test/api-docs/ios/protocols/ptpdfannotationborderappearance.md)
  * [PTPDFDocumentManagerDelegate](/api-markdown-test/api-docs/ios/protocols/ptpdfdocumentmanagerdelegate.md)
  * [PTPDFLayerViewControllerDelegate](/api-markdown-test/api-docs/ios/protocols/ptpdflayerviewcontrollerdelegate.md)
  * [PTPageCropViewControllerDelegate](/api-markdown-test/api-docs/ios/protocols/ptpagecropviewcontrollerdelegate.md)
  * [PTPageModel](/api-markdown-test/api-docs/ios/protocols/ptpagemodel.md)
  * [PTPanelViewControllerDelegate](/api-markdown-test/api-docs/ios/protocols/ptpanelviewcontrollerdelegate.md)
  * [PTPencilDrawingCreateDelegate](/api-markdown-test/api-docs/ios/protocols/ptpencildrawingcreatedelegate.md)
  * [PTPrintDelegate](/api-markdown-test/api-docs/ios/protocols/ptprintdelegate.md)
  * [PTReflowManagerDelegate](/api-markdown-test/api-docs/ios/protocols/ptreflowmanagerdelegate.md)
  * [PTReflowSettingsViewControllerDelegate](/api-markdown-test/api-docs/ios/protocols/ptreflowsettingsviewcontrollerdelegate.md)
  * [PTRichTextAnnotationProperties](/api-markdown-test/api-docs/ios/protocols/ptrichtextannotationproperties.md)
  * [PTRichTextAppearanceViewModel](/api-markdown-test/api-docs/ios/protocols/ptrichtextappearanceviewmodel.md)
  * [PTRubberStampViewControllerDelegate](/api-markdown-test/api-docs/ios/protocols/ptrubberstampviewcontrollerdelegate.md)
  * [PTSavedCountGroupsViewControllerDelegate](/api-markdown-test/api-docs/ios/protocols/ptsavedcountgroupsviewcontrollerdelegate.md)
  * [PTSearchSettingsViewControllerDelegate](/api-markdown-test/api-docs/ios/protocols/ptsearchsettingsviewcontrollerdelegate.md)
  * [PTSelectionRectViewDelegate](/api-markdown-test/api-docs/ios/protocols/ptselectionrectviewdelegate.md)
  * [PTSignaturesManagerDelegate](/api-markdown-test/api-docs/ios/protocols/ptsignaturesmanagerdelegate.md)
  * [PTTextSearchSessionDelegate](/api-markdown-test/api-docs/ios/protocols/pttextsearchsessiondelegate.md)
  * [PTTextSearchToolbarControllerDelegate](/api-markdown-test/api-docs/ios/protocols/pttextsearchtoolbarcontrollerdelegate.md)
  * [PTTextSearchToolbarDelegate](/api-markdown-test/api-docs/ios/protocols/pttextsearchtoolbardelegate.md)
  * [PTToolGroupManagerDelegate](/api-markdown-test/api-docs/ios/protocols/pttoolgroupmanagerdelegate.md)
  * [PTToolGroupToolbarDelegate](/api-markdown-test/api-docs/ios/protocols/pttoolgrouptoolbardelegate.md)
  * [PTToolManagerObserver](/api-markdown-test/api-docs/ios/protocols/pttoolmanagerobserver.md)
  * [PTToolManagerViewControllerPresentation](/api-markdown-test/api-docs/ios/protocols/pttoolmanagerviewcontrollerpresentation.md)
* [Other Type Definitions](/api-markdown-test/api-docs/ios/general/other-type-definitions.md)
  * [PTAnalyticsEventCategory](/api-markdown-test/api-docs/ios/type-definitions/ptanalyticseventcategory.md)
  * [PTAnnotStylePresetKey](/api-markdown-test/api-docs/ios/type-definitions/ptannotstylepresetkey.md)
  * [PTAnnotationRefreshAppearanceUserInfoKey](/api-markdown-test/api-docs/ios/type-definitions/ptannotationrefreshappearanceuserinfokey.md)
  * [PTFilterMode](/api-markdown-test/api-docs/ios/type-definitions/ptfiltermode.md)
  * [PTJobRequestProcHandler](/api-markdown-test/api-docs/ios/type-definitions/ptjobrequestprochandler.md)
  * [PTMeasurementUnitType](/api-markdown-test/api-docs/ios/type-definitions/ptmeasurementunittype.md)
  * [PTPDFDocumentNotificationUserInfoKey](/api-markdown-test/api-docs/ios/type-definitions/ptpdfdocumentnotificationuserinfokey.md)
  * [PTPDFDocumentReadOptionKey](/api-markdown-test/api-docs/ios/type-definitions/ptpdfdocumentreadoptionkey.md)
  * [PTPDFDocumentWriteOptionKey](/api-markdown-test/api-docs/ios/type-definitions/ptpdfdocumentwriteoptionkey.md)
  * [PTPDFPageNumber](/api-markdown-test/api-docs/ios/type-definitions/ptpdfpagenumber.md)
  * [PTSignatureHandlerId](/api-markdown-test/api-docs/ios/type-definitions/ptsignaturehandlerid.md)
  * [PTStampType](/api-markdown-test/api-docs/ios/type-definitions/ptstamptype.md)
  * [SignatureHandlerId](/api-markdown-test/api-docs/ios/type-definitions/signaturehandlerid.md)
* [Other Functions](/api-markdown-test/api-docs/ios/general/other-functions.md)
  * [PTAnnotClassForAnnot](/api-markdown-test/api-docs/ios/functions/ptannotclassforannot.md)
  * [PTExtendedAnnotNameFromType](/api-markdown-test/api-docs/ios/functions/ptextendedannotnamefromtype.md)
  * [PTExtendedAnnotTypeFromName](/api-markdown-test/api-docs/ios/functions/ptextendedannottypefromname.md)
  * [PTLineCapFromCGLineCap](/api-markdown-test/api-docs/ios/functions/ptlinecapfromcglinecap.md)
  * [PTLineJoinFromCGLineJoin](/api-markdown-test/api-docs/ios/functions/ptlinejoinfromcglinejoin.md)
  * [PTLocalizedAnnotationNameFromType](/api-markdown-test/api-docs/ios/functions/ptlocalizedannotationnamefromtype.md)
  * [PTLocalizedString](/api-markdown-test/api-docs/ios/functions/ptlocalizedstring.md)
  * [PTLocalizedStringFromTable](/api-markdown-test/api-docs/ios/functions/ptlocalizedstringfromtable.md)
  * [PTLogAnalyticsEvent](/api-markdown-test/api-docs/ios/functions/ptloganalyticsevent.md)
  * [PTLogException](/api-markdown-test/api-docs/ios/functions/ptlogexception.md)
  * [PTPDFNetExceptionToError](/api-markdown-test/api-docs/ios/functions/ptpdfnetexceptiontoerror.md)
  * [PTPDFPageNumberIsValid](/api-markdown-test/api-docs/ios/functions/ptpdfpagenumberisvalid.md)
  * [PTPagePresentationModeGetBaseMode](/api-markdown-test/api-docs/ios/functions/ptpagepresentationmodegetbasemode.md)
  * [PTPagePresentationModeGetEffectiveMode](/api-markdown-test/api-docs/ios/functions/ptpagepresentationmodegeteffectivemode.md)
  * [PTPagePresentationModeIsContinuous](/api-markdown-test/api-docs/ios/functions/ptpagepresentationmodeiscontinuous.md)
  * [PTWidgetClassForWidgetAnnot](/api-markdown-test/api-docs/ios/functions/ptwidgetclassforwidgetannot.md)

## PTPDFViewCtrl

```highlight
@interface PTPDFViewCtrl
    : UIView <UIScrollViewDelegate, UIGestureRecognizerDelegate> {
  UIView *ContainerView;
  UIScrollView *innerScrollView;
  UIScrollView *outerScrollView;
}
```

PTPDFViewCtrl is a utility class that can be used for interactive rendering of PDF documents.

On iOS, PTPDFViewCtrl derives from UIView.

PTPDFViewCtrl defines several coordinate spaces and it is important to understand their differences:

* Page Space refers to the space in which a PDF page is defined. It is determined by a page itself and the origin is at the lower-left corner of the page. Note that Page Space is independent of how a page is viewed in PDFView and each page has its own Page space.
* Canvas Space refers to the tightest axis-aligned bounding box of all the pages given the current page presentation mode in PDFView. For example, if the page presentation mode is e\_single\_continuous, all the pages are arranged vertically with one page in each row, and therefore the Canvas Space is a rectangle with possibly large height value. For this reason, Canvas Space is also, like Page Space, independent of the zoom factor. Also note that since PDFView adds gaps between adjacent pages, the Canvas Space is larger than the space occupied by all the pages. The origin of the Canvas Space is located at the upper-left corner.
* Screen Space (or Client Space) is the space occupied by PDFView and its origin is at the upper-left corner. Note that the virtual size of this space can extend beyond the visible region.
* Scrollable Space is the virtual space within which PDFView can scroll. It is determined by the Canvas Space and the current zoom factor. Roughly speaking, the dimensions of the Scrollable Space is the dimensions of the Canvas Space timed by the zoom. Therefore, a large zoom factor will result in a larger Scrollable region given the same Canvas region. For this reason, Scrollable Space might also be referred to as Zoomed Canvas Space. Note that since PDFView adds gaps between pages in Canvas Space and these gaps are not scaled when rendered, the scrollable range is not exactly what the zoom factor times the Canvas range. For functions such as `-SetHScrollPos:`, `-SetVScrollPos:`, `-GetCanvasHeight`, and `-GetCanvasWidth`, it is the Scrollable Space that is involved.
* `ContainerView`

  * Deprecated
  * The view that displays the PDF, that is the content view of a UIScrollView. Please use `overlayView` or `toolsView` for displaying content on top of the PDF.

  **Declaration**

  Objective-C

  ```highlight
  UIView *ContainerView
  ```
* `innerScrollView`

  Undocumented

  **Declaration**

  Objective-C

  ```highlight
  UIScrollView* innerScrollView
  ```
* `outerScrollView`

  Undocumented

  **Declaration**

  Objective-C

  ```highlight
  UIScrollView* outerScrollView
  ```

#### Properties

* `overlayView`

  A view that extends over the entire scrollable area of `PTPDFViewCtrl`. This view can be used to attach subviews for drawing custom content on top of the PDF.

  **Declaration**

  Objective-C

  ```highlight
  @property (nonatomic, retain, readonly) UIView *_Nonnull overlayView;
  ```

  Swift

  ```highlight
  var overlayView: UIView { get }
  ```
* `toolOverlayView`

  A view that extends over the entire scrollable area of `PTPDFViewCtrl`, but under the `overlayView`. This view can be used to attach subviews for annotation handling (by default used by the included tools library).

  **Declaration**

  Objective-C

  ```highlight
  @property (nonatomic, retain, readonly) UIView *_Nonnull toolOverlayView;
  ```

  Swift

  ```highlight
  var toolOverlayView: UIView { get }
  ```
* `pagingScrollView`

  The scroll view responsible for paging in non-continuous page presentation modes.

  The delegate of this scroll view is the owning `PTPDFViewCtrl` instance and should not be re-assigned.

  **Declaration**

  Objective-C

  ```highlight
  @property (nonatomic, retain, readonly) UIScrollView *_Nonnull pagingScrollView;
  ```

  Swift

  ```highlight
  var pagingScrollView: UIScrollView { get }
  ```
* `contentScrollView`

  The scroll view responsible for panning and zooming of page content.

  The delegate of this scroll view is the owning `PTPDFViewCtrl` instance and should not be re-assigned.

  **Declaration**

  Objective-C

  ```highlight
  @property (nonatomic, retain, readonly) UIScrollView *_Nonnull contentScrollView;
  ```

  Swift

  ```highlight
  var contentScrollView: UIScrollView { get }
  ```
* `delegate`

  An object that conforms to the PTPDFViewCtrlDelegate protocol.

  **Declaration**

  Objective-C

  ```highlight
  @property (nonatomic, weak, nullable) id<PTPDFViewCtrlDelegate> delegate;
  ```

  Swift

  ```highlight
  weak var delegate: (any PTPDFViewCtrlDelegate)? { get set }
  ```
* `toolDelegate`

  An object that conforms to the `PTPDFViewCtrlToolDelegate` protocol.

  **Declaration**

  Objective-C

  ```highlight
  @property (nonatomic, weak, nullable) id<PTPDFViewCtrlToolDelegate> toolDelegate;
  ```

  Swift

  ```highlight
  weak var toolDelegate: (any PTPDFViewCtrlToolDelegate)? { get set }
  ```
* `scrollEnabled`

  Enables or disables the ability for the user to scroll the content.

  **Declaration**

  Objective-C

  ```highlight
  @property (nonatomic) BOOL scrollEnabled;
  ```

  Swift

  ```highlight
  var scrollEnabled: Bool { get set }
  ```
* `zoomEnabled`

  Enables or disables the ability for the user to pinch-zoom the control.

  **Declaration**

  Objective-C

  ```highlight
  @property (nonatomic) BOOL zoomEnabled;
  ```

  Swift

  ```highlight
  var zoomEnabled: Bool { get set }
  ```
* `retinaEnabled`

  Enables or disables the document’s use of a retina display. If it is disabled, the document will display at a non-retina resolution. Default is enabled.

  **Declaration**

  Objective-C

  ```highlight
  @property (nonatomic) BOOL retinaEnabled;
  ```

  Swift

  ```highlight
  var retinaEnabled: Bool { get set }
  ```
* `purgeMemoryOnMemoryWarning`

  Enables or disables automatically calling PurgeMemory when a low memory warning is received. Default YES.

  **Declaration**

  Objective-C

  ```highlight
  @property (nonatomic) BOOL purgeMemoryOnMemoryWarning;
  ```

  Swift

  ```highlight
  var purgeMemoryOnMemoryWarning: Bool { get set }
  ```
* `directionalLockEnabled`

  A Boolean value that determines whether scrolling is disabled in a particular direction.

  **Declaration**

  Objective-C

  ```highlight
  @property (nonatomic, assign, unsafe_unretained, readwrite,
            getter=isDirectionalLockEnabled) BOOL directionalLockEnabled;
  ```

  Swift

  ```highlight
  var isDirectionalLockEnabled: Bool { get set }
  ```
* `contentInsetAdjustmentBehavior`

  The behavior for determining the adjusted content offsets. This property specifies how the safe area insets are used to modify the content area of the scroll view. The default value of this property is Never.

  **Declaration**

  Objective-C

  ```highlight
  @property (nonatomic) UIScrollViewContentInsetAdjustmentBehavior contentInsetAdjustmentBehavior;
  ```

  Swift

  ```highlight
  var contentInsetAdjustmentBehavior: UIScrollView.ContentInsetAdjustmentBehavior { get set }
  ```
* `extraVerticalContentForKeyboard`

  A double value that determines the extra vertical content accounted for by the on-screen keyboard

  **Declaration**

  Objective-C

  ```highlight
  @property (nonatomic, readonly) double extraVerticalContentForKeyboard;
  ```

  Swift

  ```highlight
  var extraVerticalContentForKeyboard: Double { get }
  ```

#### Document Loading and Closing

* `-SetDoc:`

  Associates this PTPDFViewCtrl with a given PDF document.

  Note

  SetDoc acquires a write lock on the document, so the document must be unlocked when this method is called or an exception will be thrown.

  **Declaration**

  Objective-C

  ```highlight
  - (void)SetDoc:(nonnull PTPDFDoc *)doc;
  ```

  Swift

  ```highlight
  func setDoc(_ doc: PTPDFDoc)
  ```

  **Parameters**

  | `doc` | A document to be displayed in the view. |
  | ----- | --------------------------------------- |
* `-GetDoc`

  **Declaration**

  Objective-C

  ```highlight
  - (nullable PTPDFDoc *)GetDoc;
  ```

  Swift

  ```highlight
  func getDoc() -> PTPDFDoc?
  ```

  **Return Value**

  Currently associated document with this PTPDFViewCtrl.
* `-CloseDoc`

  Closes the document currently opened in PTPDFViewCtrl.

  Note

  CloseDoc acquires a write lock on the document, so the document must be unlocked when this method is called or an exception will be thrown.

  **Declaration**

  Objective-C

  ```highlight
  - (void)CloseDoc;
  ```

  Swift

  ```highlight
  func closeDoc()
  ```
* `-OpenUrlAsync:`

  Sets the PDF document from a URL. If the PDF is linearized, PTPDFViewCtrl will display it incrementally while downloading it. If the PDF is not linearized, it will display blank pages until the entire document is downloaded.

  Note

  This method will acquire a write lock on the document that is displayed in the viewer when this method is called, so it must be free of locks or an exception will be thrown.

  **Declaration**

  Objective-C

  ```highlight
  - (void)OpenUrlAsync:(nonnull NSString *)url;
  ```

  Swift

  ```highlight
  func openUrlAsync(_ url: String)
  ```

  **Parameters**

  | `url` | The URL of the document to open. |
  | ----- | -------------------------------- |
* `-OpenUrlAsync:WithPDFPassword:`

  Sets the PDF document from a URL. If the PDF is linearized, PTPDFViewCtrl will display it incrementally while downloading it. If the PDF is not linearized, it will display blank pages until the entire document is downloaded.

  Note

  This method will acquire a write lock on the document that is displayed in the viewer when this method is called, so it must be free of locks or an exception will be thrown.

  **Declaration**

  Objective-C

  ```highlight
  - (void)OpenUrlAsync:(nonnull NSString *)url
       WithPDFPassword:(nullable NSString *)password;
  ```

  Swift

  ```highlight
  func openUrlAsync(_ url: String, withPDFPassword password: String?)
  ```

  **Parameters**

  | `url`      | The URL of the document to open.                                        |
  | ---------- | ----------------------------------------------------------------------- |
  | `password` | The password used to open the PDF document if it is password protected. |
* `-OpenUrlAsync:WithPDFPassword:WithCacheFile:`

  Sets the PDF document from a URL. If the PDF is linearized, PTPDFViewCtrl will display it incrementally while downloading it. If the PDF is not linearized, it will display blank pages until the entire document is downloaded.

  Note

  This method will acquire a write lock on the document that is displayed in the viewer when this method is called, so it must be free of locks or an exception will be thrown.

  **Declaration**

  Objective-C

  ```highlight
  - (void)OpenUrlAsync:(nonnull NSString *)url
       WithPDFPassword:(nullable NSString *)password
         WithCacheFile:(nullable NSString *)fullPath;
  ```

  Swift

  ```highlight
  func openUrlAsync(_ url: String, withPDFPassword password: String?, withCacheFile fullPath: String?)
  ```

  **Parameters**

  | `url`      | The URL of the document to open.                                                                                                                                                        |
  | ---------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | `password` | The password used to open the PDF document if it is password protected.                                                                                                                 |
  | `fullPath` | The path to a file that will be used to cache the downloaded file which will be used to resume a download. If no cache file is specified, a file is created in the temporary directory. |
* `-OpenUrlAsync:WithPDFPassword:WithCacheFile:WithOptions:`

  Sets the PDF document from a URL. If the PDF is linearized, PTPDFViewCtrl will display it incrementally while downloading it. If the PDF is not linearized, it will display blank pages until the entire document is downloaded.

  Note

  This method will acquire a write lock on the document that is displayed in the viewer when this method is called, so it must be free of locks or an exception will be thrown.

  **Declaration**

  Objective-C

  ```highlight
  - (void)OpenUrlAsync:(nonnull NSString *)url
       WithPDFPassword:(nullable NSString *)password
         WithCacheFile:(nullable NSString *)fullPath
           WithOptions:(nullable PTHTTPRequestOptions *)options;
  ```

  Swift

  ```highlight
  func openUrlAsync(_ url: String, withPDFPassword password: String?, withCacheFile fullPath: String?, with options: PTHTTPRequestOptions?)
  ```

  **Parameters**

  | `url`      | The URL of the document to open.                                                                                                                                                        |
  | ---------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | `password` | The password used to open the PDF document if it is password protected.                                                                                                                 |
  | `fullPath` | The path to a file that will be used to cache the downloaded file which will be used to resume a download. If no cache file is specified, a file is created in the temporary directory. |
  | `options`  | HTTP request options to use with every HTTP request                                                                                                                                     |
* `-openUniversalDocumentWithConversion:`

  Opens a streamable document type that requires conversion, such as .doc, .docx, .pptx, .xlsx. The `PTPDFViewCtrl` will show the document incrementally as it is converted.

  **Declaration**

  Objective-C

  ```highlight
  - (void)openUniversalDocumentWithConversion:
      (nonnull PTDocumentConversion *)conversion;
  ```

  Swift

  ```highlight
  func openUniversalDocument(with conversion: PTDocumentConversion)
  ```

  **Parameters**

  | `conversion` | The conversion object |
  | ------------ | --------------------- |
* `-documentConversion`

  **Declaration**

  Objective-C

  ```highlight
  - (nonnull PTDocumentConversion *)documentConversion;
  ```

  Swift

  ```highlight
  func documentConversion() -> PTDocumentConversion
  ```

  **Return Value**

  The document conversion object passed into `-openUniversalDocumentWithConversion:`.

#### Page Navigation

* `visiblePages`

  An array of NSNumbers with the pages currently visible on the screen.

  **Declaration**

  Objective-C

  ```highlight
  @property (nonatomic, readonly, getter=GetVisiblePages) NSArray<NSNumber *> *_Nonnull visiblePages;
  ```

  Swift

  ```highlight
  var visiblePages: [NSNumber] { get }
  ```
* `-GetVisiblePages`

  Get an array of NSNumbers with the pages currently visible on the screen.

  **Unavailable in Swift. Please use the property:**

  See

  `visiblePages`

  **Declaration**

  Objective-C

  ```highlight
  - (nonnull NSArray<NSNumber *> *)GetVisiblePages;
  ```

  Swift

  ```highlight
  func getVisiblePages() -> [NSNumber]
  ```

  **Return Value**

  an array of NSNumbers of the pages currently visible on the screen.
* `-pageIsOnScreen:`

  Find if a specific page is currently visible on the screen

  **Declaration**

  Objective-C

  ```highlight
  - (BOOL)pageIsOnScreen:(int)pageNumber;
  ```

  Swift

  ```highlight
  func pageIs(onScreen pageNumber: Int32) -> Bool
  ```

  **Parameters**

  | `pageNumber` | The page number of the page to check. |
  | ------------ | ------------------------------------- |

  **Return Value**

  true if the page is on screen, false otherwise.
* `currentPage`

  The page number of the page displayed in the view.

  **Declaration**

  Objective-C

  ```highlight
  @property (nonatomic, assign, unsafe_unretained, readwrite,
            getter=GetCurrentPage, setter=PT_setCurrentPage:) int currentPage;
  ```

  Swift

  ```highlight
  var currentPage: Int32 { get set }
  ```
* `-GetCurrentPage`

  Get the current page displayed in the view.

  **Unavailable in Swift. Please use the property:**

  See

  `currentPage`

  **Declaration**

  Objective-C

  ```highlight
  - (int)GetCurrentPage;
  ```

  Swift

  ```highlight
  func getCurrentPage() -> Int32
  ```

  **Return Value**

  the current page displayed in the view.
* `-SetCurrentPage:`

  Sets the current page to the given page.

  **Declaration**

  Objective-C

  ```highlight
  - (_Bool)SetCurrentPage:(int)page_num;
  ```

  Swift

  ```highlight
  func setCurrentPage(_ page_num: Int32) -> Bool
  ```

  **Return Value**

  true if successful, false otherwise.
* `-GotoFirstPage`

  Sets the current page to the first page in the document.

  **Declaration**

  Objective-C

  ```highlight
  - (_Bool)GotoFirstPage;
  ```

  Swift

  ```highlight
  func gotoFirstPage() -> Bool
  ```

  **Return Value**

  true if successful, false otherwise.
* `-GotoLastPage`

  Sets the current page to the last page in the document.

  **Declaration**

  Objective-C

  ```highlight
  - (_Bool)GotoLastPage;
  ```

  Swift

  ```highlight
  func gotoLastPage() -> Bool
  ```

  **Return Value**

  true if successful, false otherwise.
* `-GotoNextPage`

  Sets the current page to the next page in the document.

  **Declaration**

  Objective-C

  ```highlight
  - (_Bool)GotoNextPage;
  ```

  Swift

  ```highlight
  func gotoNextPage() -> Bool
  ```

  **Return Value**

  true if successful, false otherwise.
* `-GotoPreviousPage`

  Sets the current page to the previous page in the document.

  **Declaration**

  Objective-C

  ```highlight
  - (_Bool)GotoPreviousPage;
  ```

  Swift

  ```highlight
  func gotoPreviousPage() -> Bool
  ```

  **Return Value**

  true if successful, false otherwise.

#### Viewer scroll position and zoom level

* `-GetHScrollPos`

  Get the current horizontal scroll position. The returned value is expressed in the canvas coordinate system. The canvas coordinate system is defined by a bounding box that surrounds all pages in the view.

  **Declaration**

  Objective-C

  ```highlight
  - (double)GetHScrollPos;
  ```

  Swift

  ```highlight
  func getHScrollPos() -> Double
  ```

  **Return Value**

  the current horizontal scroll position.
* `-GetVScrollPos`

  Get the current vertical scroll position. The returned value is expressed in the canvas coordinate system. The canvas coordinate system is defined by a bounding box that surrounds all pages in the view.

  **Declaration**

  Objective-C

  ```highlight
  - (double)GetVScrollPos;
  ```

  Swift

  ```highlight
  func getVScrollPos() -> Double
  ```

  **Return Value**

  the current vertical scroll position.
* `-SetHScrollPos:`

  Sets the horizontal scroll position. The position should be a number in the range between 0 and `-GetCanvasWidth` and is expressed in the canvas coordinate system. The canvas coordinate system is defined by a bounding box that surrounds all pages in the view. If Animated is not specified, the default value is YES.

  **Declaration**

  Objective-C

  ```highlight
  - (void)SetHScrollPos:(double)pos;
  ```

  Swift

  ```highlight
  func setHScrollPos(_ pos: Double)
  ```

  **Parameters**

  | `pos` | the new horizontal scroll position. |
  | ----- | ----------------------------------- |
* `-SetHScrollPos:Animated:`

  Sets the horizontal scroll position. The position should be a number in the range between 0 and `-GetCanvasWidth` and is expressed in the canvas coordinate system. The canvas coordinate system is defined by a bounding box that surrounds all pages in the view.

  **Declaration**

  Objective-C

  ```highlight
  - (void)SetHScrollPos:(double)pos Animated:(BOOL)animated;
  ```

  Swift

  ```highlight
  func setHScrollPos(_ pos: Double, animated: Bool)
  ```

  **Parameters**

  | `pos`      | The new horizontal scroll position.               |
  | ---------- | ------------------------------------------------- |
  | `animated` | Whether to animate the change in scroll position. |
* `-SetVScrollPos:`

  Sets the vertical scroll position. The position should be a number in the range between 0 and `-GetCanvasHeight` and is expressed in the canvas coordinate system. The canvas coordinate system is defined by a bounding box that surrounds all pages in the view. If Animated is not specified, the default value is YES.

  **Declaration**

  Objective-C

  ```highlight
  - (void)SetVScrollPos:(double)pos;
  ```

  Swift

  ```highlight
  func setVScrollPos(_ pos: Double)
  ```

  **Parameters**

  | `pos` | The new vertical scroll position. |
  | ----- | --------------------------------- |
* `-SetVScrollPos:Animated:`

  Sets the vertical scroll position. The position should be a number in the range between 0 and `-GetCanvasHeight` and is expressed in the canvas coordinate system. The canvas coordinate system is defined by a bounding box that surrounds all pages in the view.

  **Declaration**

  Objective-C

  ```highlight
  - (void)SetVScrollPos:(double)pos Animated:(BOOL)animated;
  ```

  Swift

  ```highlight
  func setVScrollPos(_ pos: Double, animated: Bool)
  ```

  **Parameters**

  | `pos`      | The new vertical scroll position.                 |
  | ---------- | ------------------------------------------------- |
  | `animated` | Whether to animate the change in scroll position. |
* `zoom`

  The zoom level of the PDF.

  **Declaration**

  Objective-C

  ```highlight
  @property (nonatomic, assign, unsafe_unretained, readwrite, getter=GetZoom,
            setter=SetZoom:) double zoom;
  ```

  Swift

  ```highlight
  var zoom: Double { get set }
  ```
* `-GetZoom`

  Returns the current zoom level of the PDF.

  **Unavailable in Swift. Please use the property:**

  See

  `zoom`

  **Declaration**

  Objective-C

  ```highlight
  - (double)GetZoom;
  ```

  Swift

  ```highlight
  func getZoom() -> Double
  ```

  **Return Value**

  current zoom (or scaling) component used to display the page content.
* `-SetZoom:`

  Sets the zoom level of the PDF to a new value. The function zooms to a point at the center of the rendering buffer.

  **Unavailable in Swift. Please use the property:**

  See

  `zoom`

  **Declaration**

  Objective-C

  ```highlight
  - (void)SetZoom:(double)zoom;
  ```

  Swift

  ```highlight
  func setZoom(_ zoom: Double)
  ```

  **Parameters**

  | `zoom` | new scaling component used to display the page content. |
  | ------ | ------------------------------------------------------- |
* `-SetZoomX:Y:Zoom:`

  Sets the zoom factor to a new value using the given pixel coordinate (x,y) as a zoom center.

  The zoom point (x,y) is represented in the screen coordinate system, which starts in the upper-left corner of the client window.

  **Declaration**

  Objective-C

  ```highlight
  - (void)SetZoomX:(int)x Y:(int)y Zoom:(double)zoom;
  ```

  Swift

  ```highlight
  func setZoomX(_ x: Int32, y: Int32, zoom: Double)
  ```

  **Parameters**

  | `x`    | the horizontal coordinate to zoom in.                   |
  | ------ | ------------------------------------------------------- |
  | `y`    | the vertical coordinate to zoom in.                     |
  | `zoom` | new scaling component used to display the page content. |
* `-SmartZoomX:y:animated:`

  Sets the zoom factor to a new value using the given pixel coordinate (x,y) to find an intersecting paragraph. The width of the paragraph helps to determine the zoom value, center of the paragraph is used as a zoom center. Paragraph has to contain more than one line and be wider than 1/5th of a page width. When called on a paragraph wider than current zoom level, or smart zoom cannot find something to zoom on, the method returns false. The zoom point (x,y) is represented in the screen space, which starts in the upper-left corner of the client window.

  **Declaration**

  Objective-C

  ```highlight
  - (BOOL)SmartZoomX:(double)in_x y:(double)in_y animated:(BOOL)animated;
  ```

  Swift

  ```highlight
  func smartZoomX(_ in_x: Double, y in_y: Double, animated: Bool) -> Bool
  ```

  **Parameters**

  | `in_x`     | the horizontal coordinate to look for a text block. |
  | ---------- | --------------------------------------------------- |
  | `in_y`     | the vertical coordinate to look for a text block.   |
  | `animated` | whether or not to animate the zooming               |

  **Return Value**

  true if successful, false if no zooming was performed.
* `-ShowRect:rect:`

  Changes the viewing area to fit a rectangle rect on page `page_num`. The rectangle must be specified in page coordinates. This will adjust current page and zoom appropriately.

  **Declaration**

  Objective-C

  ```highlight
  - (BOOL)ShowRect:(int)page_num rect:(nonnull PTPDFRect *)rect;
  ```

  Swift

  ```highlight
  func showRect(_ page_num: Int32, rect: PTPDFRect) -> Bool
  ```

  **Parameters**

  | `page_num` | the specified page number |
  | ---------- | ------------------------- |
  | `rect`     | the rectangle to fit in   |

  **Return Value**

  true if successful, false otherwise.
* `-zoomToRect:animated:`

  Changes the viewing area to fit a rectangle in viewer coordinates.

  **Declaration**

  Objective-C

  ```highlight
  - (void)zoomToRect:(CGRect)rect animated:(BOOL)animated;
  ```

  Swift

  ```highlight
  func zoom(to rect: CGRect, animated: Bool)
  ```

  **Parameters**

  | `rect`     | the rectangle to zoom in, in viewer coordinates. |
  | ---------- | ------------------------------------------------ |
  | `animated` | will animate zoom if YES, will not if NO.        |

#### Page View and Presentation Modes

* `pageViewMode`

  The page view mode. The default PageView mode is `e_trn_fit_width`.

  **Declaration**

  Objective-C

  ```highlight
  @property (nonatomic, assign, unsafe_unretained, readwrite,
            getter=GetPageViewMode, setter=SetPageViewMode:)
      TrnPageViewMode pageViewMode;
  ```

  Swift

  ```highlight
  var pageViewMode: TrnPageViewMode { get set }
  ```
* `-GetPageViewMode`

  Get the current page viewing mode.

  **Unavailable in Swift. Please use the property:**

  See

  `pageViewMode`

  **Declaration**

  Objective-C

  ```highlight
  - (TrnPageViewMode)GetPageViewMode;
  ```

  Swift

  ```highlight
  func getPageViewMode() -> TrnPageViewMode
  ```

  **Return Value**

  the current page viewing mode
* `-SetPageViewMode:`

  Sets the page viewing mode. The default PageView mode is `e_trn_fit_width`.

  **Unavailable in Swift. Please use the property:**

  See

  `pageViewMode`

  **Declaration**

  Objective-C

  ```highlight
  - (void)SetPageViewMode:(TrnPageViewMode)mode;
  ```

  Swift

  ```highlight
  func setPageViewMode(_ mode: TrnPageViewMode)
  ```

  **Parameters**

  | `mode` | the new page viewing mode. |
  | ------ | -------------------------- |
* `pageRefViewMode`

  The reference page view mode.

  In a non-continous page presentation mode, the reference page view mode is used to determine the page view mode upon a page change event. For example, if the reference page view mode is set to `e_trn_fit_width`, the new page coming in will be displayed with width-fit mode.

  **Declaration**

  Objective-C

  ```highlight
  @property (nonatomic, assign, unsafe_unretained, readwrite,
            getter=GetPageRefViewMode, setter=SetPageRefViewMode:)
      TrnPageViewMode pageRefViewMode;
  ```

  Swift

  ```highlight
  var pageRefViewMode: TrnPageViewMode { get set }
  ```
* `-SetPageRefViewMode:`

  Sets the reference page view mode. In a non-continous page presentation mode, the reference page view mode is used to determine the page view mode upon a page change event. For example, if the reference page view mode is set to `e_trn_fit_width`, the new page coming in will be displayed with width-fit mode.

  **Unavailable in Swift. Please use the property:**

  See

  `pageRefViewMode`

  **Declaration**

  Objective-C

  ```highlight
  - (void)SetPageRefViewMode:(TrnPageViewMode)mode;
  ```

  Swift

  ```highlight
  func setPageRefViewMode(_ mode: TrnPageViewMode)
  ```

  **Parameters**

  | `mode` | The reference page view mode to set. Valid values are `e_trn_fit_page`, `e_trn_fit_width`, and `e_trn_fit_height`. |
  | ------ | ------------------------------------------------------------------------------------------------------------------ |
* `-GetPageRefViewMode`

  Gets the reference page view mode. See more details about reference page view mode in `-SetPageRefViewMode:`.

  **Unavailable in Swift. Please use the property:**

  See

  `pageRefViewMode`

  **Declaration**

  Objective-C

  ```highlight
  - (TrnPageViewMode)GetPageRefViewMode;
  ```

  Swift

  ```highlight
  func getPageRefViewMode() -> TrnPageViewMode
  ```

  **Return Value**

  the reference page view mode.
* `pagePresentationMode`

  The current page presentation mode.

  **Declaration**

  Objective-C

  ```highlight
  @property (nonatomic, assign, unsafe_unretained, readwrite,
            getter=GetPagePresentationMode, setter=SetPagePresentationMode:)
      TrnPagePresentationMode pagePresentationMode;
  ```

  Swift

  ```highlight
  var pagePresentationMode: TrnPagePresentationMode { get set }
  ```
* `-GetPagePresentationMode`

  Get the current page presentation mode.

  **Unavailable in Swift. Please use the property:**

  See

  `pagePresentationMode`

  **Declaration**

  Objective-C

  ```highlight
  - (TrnPagePresentationMode)GetPagePresentationMode;
  ```

  Swift

  ```highlight
  func getPagePresentationMode() -> TrnPagePresentationMode
  ```

  **Return Value**

  the current page presentation mode.
* `-SetPagePresentationMode:`

  Sets the current page presentation mode. The default PagePresentationMode is `e_trn_single_continuous`.

  **Unavailable in Swift. Please use the property:**

  See

  `pagePresentationMode`

  **Declaration**

  Objective-C

  ```highlight
  - (void)SetPagePresentationMode:(TrnPagePresentationMode)mode;
  ```

  Swift

  ```highlight
  func setPagePresentationMode(_ mode: TrnPagePresentationMode)
  ```

  **Parameters**

  | `mode` | the new page presentation mode. |
  | ------ | ------------------------------- |
* `-pagePresentationModeIsContinuous`

  Determine if the current page presentation mode is continuous

  **Declaration**

  Objective-C

  ```highlight
  - (BOOL)pagePresentationModeIsContinuous;
  ```

  Swift

  ```highlight
  func pagePresentationModeIsContinuous() -> Bool
  ```

  **Return Value**

  true if the page presentation mode is continuous, false otherwise.
* `pagingDirection`

  The direction of paging for non-continuous page presentation modes.

  Note

  The default value of this property is `PTPDFViewCtrlPagingDirectionHorizontal`.

  **Declaration**

  Objective-C

  ```highlight
  @property (nonatomic) PTPDFViewCtrlPagingDirection pagingDirection;
  ```

  Swift

  ```highlight
  var pagingDirection: PTPDFViewCtrl.PagingDirection { get set }
  ```

#### Viewer Options

* `-SetUrlExtraction:`

  Enables or disables URL extraction. By default URL extraction is disabled.

  Note

  If set to enabled when the document is already opened, it may not find links on pages that were already rendered. It is suggested to set this flag before opening the document.

  **Declaration**

  Objective-C

  ```highlight
  - (void)SetUrlExtraction:(BOOL)enabled;
  ```

  Swift

  ```highlight
  func setUrlExtraction(_ enabled: Bool)
  ```

  **Parameters**

  | `enabled` | if true URL extraction is enabled, if false URL extraction is disabled. |
  | --------- | ----------------------------------------------------------------------- |
* `-SetPageBorderVisibility:`

  Enables or disables drawing of a thin border around each page.

  **Declaration**

  Objective-C

  ```highlight
  - (void)SetPageBorderVisibility:(BOOL)border_visible;
  ```

  Swift

  ```highlight
  func setPageBorderVisibility(_ border_visible: Bool)
  ```

  **Parameters**

  | `border_visible` | if true, the border will be visible. |
  | ---------------- | ------------------------------------ |
* `-SetPageTransparencyGrid:`

  Enables or disables the transparency grid (check board pattern) to reflect page transparency.

  **Declaration**

  Objective-C

  ```highlight
  - (void)SetPageTransparencyGrid:(BOOL)trans_grid_visible;
  ```

  Swift

  ```highlight
  func setPageTransparencyGrid(_ trans_grid_visible: Bool)
  ```

  **Parameters**

  | `trans_grid_visible` | if true, the grid is turned on. |
  | -------------------- | ------------------------------- |
* `-SetDefaultPageColor:g:b:`

  Sets the default ‘paper’ color used to draw the background of each page.

  **Declaration**

  Objective-C

  ```highlight
  - (void)SetDefaultPageColor:(unsigned char)r
                            g:(unsigned char)g
                            b:(unsigned char)b;
  ```

  Swift

  ```highlight
  func setDefaultPageColor(_ r: UInt8, g: UInt8, b: UInt8)
  ```

  **Parameters**

  | `r` | red RGB color component   |
  | --- | ------------------------- |
  | `g` | green RGB color component |
  | `b` | blue RGB color component  |
* `-SetBackgroundColor:g:b:a:`

  Sets the default background color used to paint the area surrounding each page.

  **Declaration**

  Objective-C

  ```highlight
  - (void)SetBackgroundColor:(unsigned char)r
                           g:(unsigned char)g
                           b:(unsigned char)b
                           a:(unsigned char)a;
  ```

  Swift

  ```highlight
  func setBackgroundColor(_ r: UInt8, g: UInt8, b: UInt8, a: UInt8)
  ```

  **Parameters**

  | `r` | red RGBA color component   |
  | --- | -------------------------- |
  | `g` | green RGBA color component |
  | `b` | blue RGBA color component  |
  | `a` | alpha RGBA color component |
* `-SetHorizontalAlign:`

  Sets the horizontal alignment used for rendering pages within the view.

  **Declaration**

  Objective-C

  ```highlight
  - (void)SetHorizontalAlign:(int)align;
  ```

  Swift

  ```highlight
  func setHorizontalAlign(_ align: Int32)
  ```

  **Parameters**

  | `align` | an integer specifying the horizontal alignment. Depending of whether align is positive, negative, or zero, pages will be right, left, or center aligned: `align<0`, pages are top aligned; `align=0`, pages are centered; `align>0`, pages are bottom aligned. |
  | ------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
* `-SetVerticalAlign:`

  Sets the vertical alignment used for rendering pages within the view.

  **Declaration**

  Objective-C

  ```highlight
  - (void)SetVerticalAlign:(int)align;
  ```

  Swift

  ```highlight
  func setVerticalAlign(_ align: Int32)
  ```

  **Parameters**

  | `align` | an integer specifying the vertical alignment. Depending of whether align is positive, negative, or zero, pages will be bottom, top, or center aligned: `align<0`, pages are top aligned; `align=0`, pages are centered; `align>0`, pages are bottom aligned. |
  | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
* `-SetPageSpacing:vert_col_space:horiz_pad:vert_pad:`

  Sets the vertical and horizontal padding and column spacing between adjacent pages in the view.

  **Declaration**

  Objective-C

  ```highlight
  - (void)SetPageSpacing:(int)horiz_col_space
          vert_col_space:(int)vert_col_space
               horiz_pad:(int)horiz_pad
                vert_pad:(int)vert_pad;
  ```

  Swift

  ```highlight
  func setPageSpacing(_ horiz_col_space: Int32, vert_col_space: Int32, horiz_pad: Int32, vert_pad: Int32)
  ```

  **Parameters**

  | `horiz_col_space` | horizontal column spacing (represented in pixels) between adjacent pages in the view. Default is 10. |
  | ----------------- | ---------------------------------------------------------------------------------------------------- |
  | `vert_col_space`  | vertical column spacing (represented in pixels) between adjacent pages in the view. Default is 10.   |
  | `horiz_pad`       | horizontal padding (represented in pixels) on the left and right side of the view. Default is 10.    |
  | `vert_pad`        | vertical padding (represented in pixels) on the top and bottom side of the view. Default is 10.      |
* `-RotateClockwise`

  Rotates all pages in the document 90 degrees clockwise.

  **Declaration**

  Objective-C

  ```highlight
  - (void)RotateClockwise;
  ```

  Swift

  ```highlight
  func rotateClockwise()
  ```
* `-RotateCounterClockwise`

  Rotates all pages in the document 90 degrees counter-clockwise.

  **Declaration**

  Objective-C

  ```highlight
  - (void)RotateCounterClockwise;
  ```

  Swift

  ```highlight
  func rotateCounterClockwise()
  ```
* `rotation`

  The current rotation applied to all pages in PTPDFViewCtrl.

  Rotation can be applied to all pages using `-RotateClockwise` and `-RotateCounterClockwise`.

  **Declaration**

  Objective-C

  ```highlight
  @property (nonatomic, readonly, getter=GetRotation) PTRotate rotation;
  ```

  Swift

  ```highlight
  var rotation: PTRotate { get }
  ```
* `-GetRotation`

  Get the current rotation applied to all pages in PTPDFViewCtrl.

  **Unavailable in Swift. Please use the property:**

  See

  `rotation`

  **Declaration**

  Objective-C

  ```highlight
  - (PTRotate)GetRotation;
  ```

  Swift

  ```highlight
  func getRotation() -> PTRotate
  ```

  **Return Value**

  The current rotation applied to all pages in PTPDFViewCtrl.
* `colorPostProcessMode`

  The color post processing transformation. This transform is applied to the rasterized bitmap as the final step in the rasterization process, and is applied directly to the resulting bitmap (disregarding any color space information). Color post processing is only supported for RGBA output.

  Note

  When setting this property to `e_ptpostprocess_gradient_map`, the colors used for gradient map should also be set using `-SetColorPostProcessColors:black_color:`.

  **Declaration**

  Objective-C

  ```highlight
  @property (nonatomic, assign, unsafe_unretained, readwrite,
            getter=GetColorPostProcessMode, setter=SetColorPostProcessMode:)
      PTColorPostProcessMode colorPostProcessMode;
  ```

  Swift

  ```highlight
  var colorPostProcessMode: PTColorPostProcessMode { get set }
  ```
* `-GetColorPostProcessMode`

  Get the current color post processing mode.

  **Unavailable in Swift. Please use the property:**

  See

  `colorPostProcessMode`

  **Declaration**

  Objective-C

  ```highlight
  - (PTColorPostProcessMode)GetColorPostProcessMode;
  ```

  Swift

  ```highlight
  func getColorPostProcessMode() -> PTColorPostProcessMode
  ```

  **Return Value**

  the current color post processing mode.
* `-SetColorPostProcessMode:`

  Set the color post processing transformation. This transform is applied to the rasterized bitmap as the final step in the rasterization process, and is applied directly to the resulting bitmap (disregarding any color space information). Color post processing is only supported for RGBA output.

  **Unavailable in Swift. Please use the property:**

  See

  `colorPostProcessMode`

  **Declaration**

  Objective-C

  ```highlight
  - (void)SetColorPostProcessMode:(PTColorPostProcessMode)mode;
  ```

  Swift

  ```highlight
  func setColorPostProcessMode(_ mode: PTColorPostProcessMode)
  ```

  **Parameters**

  | `mode` | the specific transform to be applied |
  | ------ | ------------------------------------ |
* `-SetColorPostProcessMapFile:`

  Sets the color post processing transformation. This transform is applied to the rasterized bitmap as the final step in the rasterization process, and is applied directly to the resulting bitmap (disregarding any color space information). Color post processing only supported for RGBA output.

  This mode will map the brightness of the original rasterized bitmap to a gradient in image\_file\_contents from left to right.

  **Declaration**

  Objective-C

  ```highlight
  - (void)SetColorPostProcessMapFile:(nonnull PTFilter *)image_file_contents;
  ```

  Swift

  ```highlight
  func setColorPostProcessMapFile(_ image_file_contents: PTFilter)
  ```

  **Parameters**

  | `image_file_contents` | A filter with image file contents. |
  | --------------------- | ---------------------------------- |
* `-SetColorPostProcessColors:black_color:`

  Sets the color post processing transformation. This transform is applied to the rasterized bitmap as the final step in the rasterization process, and is applied directly to the resulting bitmap (disregarding any color space information). Color post processing only supported for RGBA output. This mode will map the brightness of the original rasterized bitmap to a gradient between whiteColor and blackColor

  **Declaration**

  Objective-C

  ```highlight
  - (void)SetColorPostProcessColors:(nonnull UIColor *)white_color
                        black_color:(nonnull UIColor *)black_color;
  ```

  Swift

  ```highlight
  func setColorPostProcessColors(_ white_color: UIColor, black_color: UIColor)
  ```

  **Parameters**

  | `white_color` | The white color of the page. |
  | ------------- | ---------------------------- |
  | `black_color` | The black color of the page. |
* `-GetPostProcessedColor:`

  Converts a color based on the view’s color post processing transformation.

  **Declaration**

  Objective-C

  ```highlight
  - (nonnull PTColorPt *)GetPostProcessedColor:(nonnull PTColorPt *)color;
  ```

  Swift

  ```highlight
  func getPostProcessedColor(_ color: PTColorPt) -> PTColorPt
  ```

  **Parameters**

  | `color` | the color to be converted |
  | ------- | ------------------------- |

  **Return Value**

  the post-processed color

#### Rendering Options

* `-SetProgressiveRendering:withInitialDelay:withInterval:`

  Sets whether the control will render progressively or will just draw once the entire view has been rendered.

  Note

  Progressive rendering is useful when a PDF page contain lots of elements (e.g. many vector paths, text, or many little images). When progressive rendering is enabled PDFNet will use painter algorithm to draw the page. This way user may be able to see partially rendered page. If a page contains only a single large image, there would be no visible benefit from progressive rendering.

  **Declaration**

  Objective-C

  ```highlight
  - (void)SetProgressiveRendering:(BOOL)progressive
                 withInitialDelay:(int)delayMilliseconds
                     withInterval:(int)intervalMilliseconds;
  ```

  Swift

  ```highlight
  func setProgressiveRendering(_ progressive: Bool, withInitialDelay delayMilliseconds: Int32, withInterval intervalMilliseconds: Int32)
  ```

  **Parameters**

  | `progressive`          | if true the view will be rendered progressively          |
  | ---------------------- | -------------------------------------------------------- |
  | `delayMilliseconds`    | delay before the progressive rendering timer is started. |
  | `intervalMilliseconds` | delay between refreshes. Default is 750 ms.              |
* `-SetPathHinting:`

  Enable or disable path hinting.

  Path hinting is used to slightly adjust paths in order to avoid or alleviate artifacts of hair line cracks between certain graphical elements.

  This option is enabled by default.

  **Declaration**

  Objective-C

  ```highlight
  - (void)SetPathHinting:(BOOL)enabled;
  ```

  Swift

  ```highlight
  func setPathHinting(_ enabled: Bool)
  ```

  **Parameters**

  | `enabled` | if YES path hinting is enabled. |
  | --------- | ------------------------------- |
* `-SetAntiAliasing:`

  Enable or disable anti-aliasing.

  Anti-Aliasing is a technique used to improve the visual quality of images when displaying them on low resolution devices (for example, low DPI computer monitors).

  Anti-aliasing is enabled by default.

  **Declaration**

  Objective-C

  ```highlight
  - (void)SetAntiAliasing:(_Bool)enabled;
  ```

  Swift

  ```highlight
  func setAntiAliasing(_ enabled: Bool)
  ```
* `-SetThinLineAdjustment:StrokeAdjust:`

  Set thin line adjustment parameters.

  **Declaration**

  Objective-C

  ```highlight
  - (void)SetThinLineAdjustment:(_Bool)pixel_grid
                   StrokeAdjust:(_Bool)stroke_adjust;
  ```

  Swift

  ```highlight
  func setThinLineAdjustment(_ pixel_grid: Bool, strokeAdjust stroke_adjust: Bool)
  ```

  **Parameters**

  | `pixel_grid`    | if true (horizontal/vertical) thin lines will be snapped to integer pixel positions. This helps make thin lines look sharper and clearer. This option is turned off by default. |
  | --------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | `stroke_adjust` | if true auto stroke adjustment is enabled. Currently, this would make lines with sub-pixel width to be one-pixel wide. This option is turned on by default.                     |
* `-SetImageSmoothing:`

  Enable or disable image smoothing.

  The rasterizer allows a trade-off between rendering quality and rendering speed. This function can be used to indicate the preference between rendering speed and quality.

  Note

  The image smoothing option has effect only if the source image has higher resolution that the output resolution of the image on the rasterized page. PDFNet automatically controls at what resolution/zoom factor, ‘image smoothing’ needs to take effect.

  Image smoothing is enabled by default.

  **Declaration**

  Objective-C

  ```highlight
  - (void)SetImageSmoothing:(_Bool)enabled;
  ```

  Swift

  ```highlight
  func setImageSmoothing(_ enabled: Bool)
  ```

  **Parameters**

  | `enabled` | True to enable image smoothing, false otherwise. |
  | --------- | ------------------------------------------------ |
* `-SetGamma:`

  Sets the gamma factor used for anti-aliased rendering.

  Gamma correction can be used to improve the quality of anti-aliased image output and can (to some extent) decrease the appearance of common anti-aliasing artifacts (such as pixel width lines between polygons).

  Note

  Gamma correction is used only in the built-in rasterizer.

  **Declaration**

  Objective-C

  ```highlight
  - (void)SetGamma:(double)exp;
  ```

  Swift

  ```highlight
  func setGamma(_ exp: Double)
  ```

  **Parameters**

  | `exp` | the exponent value of the gamma function. Typical values are in the range from 0.1 to 3. |
  | ----- | ---------------------------------------------------------------------------------------- |
* `-SetDrawAnnotations:`

  Enable or disable annotation and forms rendering. By default, all annotations and form fields are rendered.

  **Declaration**

  Objective-C

  ```highlight
  - (void)SetDrawAnnotations:(BOOL)render_annots;
  ```

  Swift

  ```highlight
  func setDrawAnnotations(_ render_annots: Bool)
  ```

  **Parameters**

  | `render_annots` | True to draw annotations, false otherwise. |
  | --------------- | ------------------------------------------ |
* `-SetHighlightFields:`

  Enable or disable highlighting form fields. Default is disabled.

  **Declaration**

  Objective-C

  ```highlight
  - (void)SetHighlightFields:(BOOL)highlight_fields;
  ```

  Swift

  ```highlight
  func setHighlightFields(_ highlight_fields: Bool)
  ```

  **Parameters**

  | `highlight_fields` | YES to highlight, NO otherwise. |
  | ------------------ | ------------------------------- |
* `-SetFieldHighlightColor:`

  Set the highlight color for fields.

  This option only has an effect if field highlighting is turned on using `-SetHighlightFields:`.

  Note

  Signature fields have their own highlight color, independent of this one (see `-SetSignatureHighlightColor:`).

  **Declaration**

  Objective-C

  ```highlight
  - (void)SetFieldHighlightColor:(nonnull UIColor *)highlightColor;
  ```

  Swift

  ```highlight
  func setFieldHighlight(_ highlightColor: UIColor)
  ```

  **Parameters**

  | `highlightColor` | The new highlight color. |
  | ---------------- | ------------------------ |
* `-SetRequiredFieldBorderColor:`

  Set the border color for required fields.

  This option only has an effect if field highlighting is turned on using `-SetHighlightFields:`.

  **Declaration**

  Objective-C

  ```highlight
  - (void)SetRequiredFieldBorderColor:(nonnull UIColor *)borderColor;
  ```

  Swift

  ```highlight
  func setRequiredFieldBorderColor(_ borderColor: UIColor)
  ```

  **Parameters**

  | `borderColor` | The new border color. |
  | ------------- | --------------------- |
* `-SetSignatureHighlightColor:`

  Set the highlight color for signature fields.

  This option only has an effect if field highlighting is turned on using `-SetHighlightFields:`.

  Note

  Non-signature fields have their own highlight color, independent of this one (see `-SetFieldHighlightColor:`).

  **Declaration**

  Objective-C

  ```highlight
  - (void)SetSignatureHighlightColor:(nonnull UIColor *)highlightColor;
  ```

  Swift

  ```highlight
  func setSignatureHighlight(_ highlightColor: UIColor)
  ```

  **Parameters**

  | `highlightColor` | The new signature highlight color. |
  | ---------------- | ---------------------------------- |
* `-SetOverprint:`

  Enable or disable support for overprint and overprint simulation. Overprint is a device dependent feature and the results will vary depending on the output color space and supported colorants (i.e. CMYK, CMYK+spot, RGB, etc).

  By default overprint is only enabled for PDF/X files.

  **Declaration**

  Objective-C

  ```highlight
  - (void)SetOverprint:(PTOverprintPreviewMode)op;
  ```

  Swift

  ```highlight
  func setOverprint(_ op: PTOverprintPreviewMode)
  ```

  **Parameters**

  | `op` | `e_ptop_on`: always enabled; `e_ptop_off`: always disabled; `e_ptop_pdfx_on`: enabled for PDF/X files only. |
  | ---- | ----------------------------------------------------------------------------------------------------------- |
* `-SetOCGContext:`

  Sets the Optional Content Group (OCG) context that should be used when viewing the document. This function can be used to change the current OCG context. Optional content (such as PDF layers) will be selectively rendered based on the states of optional content groups in the given context.

  Note

  Unlike `-[PTPDFDraw SetOCGContext:]` this method copies the given context. As a result, in order to modify the state of OCG groups in the current context use `-GetOCGContext` to obtain the currently selected content and then modify states.

  **Declaration**

  Objective-C

  ```highlight
  - (void)SetOCGContext:(nonnull PTContext *)ctx;
  ```

  Swift

  ```highlight
  func setOCGContext(_ ctx: PTContext)
  ```

  **Parameters**

  | `ctx` | Optional Content Group (OCG) context, or `nil` if the rasterizer should render all content on the page. |
  | ----- | ------------------------------------------------------------------------------------------------------- |
* `-GetOCGContext`

  Get the Optional Content Group (OCG) context associated with this PTPDFViewCtrl.

  See

  `OCGContext`

  **Declaration**

  Objective-C

  ```highlight
  - (nullable PTContext *)GetOCGContext;
  ```

  Swift

  ```highlight
  func getOCGContext() -> PTContext?
  ```

  **Return Value**

  the Optional Content Group (OCG) context associated with this PTPDFViewCtrl, or `nil` (i.e. `-[PTContext IsValid]` is `NO`) if there is no OCG context associated with the view. If there is an OCG context associated with the view, optional content (such as PDF layers) will be selectively rendered based on the states of optional content groups in the given context.
* `-UpdateOCGContext`

  Prompts the PDFViewCtrl to update its list of optional content groups. Call this method if you modify the PDFDoc in a way that adds or removes a layer. For example, after using Stamper to create a stamp.

  **Declaration**

  Objective-C

  ```highlight
  - (void)UpdateOCGContext;
  ```

  Swift

  ```highlight
  func updateOCGContext()
  ```
* `-HideAnnotation:`

  Disable rendering of a particular annotation. This does not change the annotation itself, just how it is displayed in this viewer instance.

  **Declaration**

  Objective-C

  ```highlight
  - (void)HideAnnotation:(nonnull PTAnnot *)annot;
  ```

  Swift

  ```highlight
  func hideAnnotation(_ annot: PTAnnot)
  ```

  **Parameters**

  | `annot` | The annotation object to cease drawing for. |
  | ------- | ------------------------------------------- |
* `-ShowAnnotation:`

  Enable rendering of a particular annotation. Only has an effect if `-HideAnnotation:` has previously been called on the same annot.

  **Declaration**

  Objective-C

  ```highlight
  - (void)ShowAnnotation:(nonnull PTAnnot *)annot;
  ```

  Swift

  ```highlight
  func showAnnotation(_ annot: PTAnnot)
  ```

  **Parameters**

  | `annot` | The annotation object to resume rendering. |
  | ------- | ------------------------------------------ |

#### Text Search

* `-FindText:MatchCase:MatchWholeWord:SearchUp:RegExp:`

  Selects text by searching for a given string of text.

  Note

  This function runs in asynchronous mode: it launches a search thread and returns immediately. If a matched string is found, the corresponding text is highlighted; otherwise, a message box is shown. Users can use SetCustomEventHandlers() to set a TextFindDoneHandler to customize a different behavior.

  **Declaration**

  Objective-C

  ```highlight
  - (BOOL)FindText:(nonnull NSString *)searchString
           MatchCase:(BOOL)matchCase
      MatchWholeWord:(BOOL)matchWholeWord
            SearchUp:(BOOL)searchUp
              RegExp:(BOOL)regExp;
  ```

  Swift

  ```highlight
  func findText(_ searchString: String, matchCase: Bool, matchWholeWord: Bool, searchUp: Bool, regExp: Bool) -> Bool
  ```

  **Parameters**

  | `searchString`   | The text to search for                      |
  | ---------------- | ------------------------------------------- |
  | `matchCase`      | Indicates if it is case sensitive           |
  | `matchWholeWord` | Indicates if it matches an entire word only |
  | `searchUp`       | If it searches upward                       |
  | `regExp`         | Indicates if it uses regular expressions.   |
* `-CancelFindText`

  Cancel the text search thread if `-FindText:MatchCase:MatchWholeWord:SearchUp:RegExp:` is started in a different thread.

  Note

  If the text search thread is currently being suspended by the render thread, it will only be canceled after it is awaken by the render thread.

  **Declaration**

  Objective-C

  ```highlight
  - (void)CancelFindText;
  ```

  Swift

  ```highlight
  func cancelFindText()
  ```

#### Text Selection

* `-SetTextSelectionMode:`

  Sets the selection mode used for text highlighting.

  **Declaration**

  Objective-C

  ```highlight
  - (void)SetTextSelectionMode:(PTTextSelectionMode)tm;
  ```

  Swift

  ```highlight
  func setTextSelectionMode(_ tm: PTTextSelectionMode)
  ```

  **Parameters**

  | `tm` | the text selection mode. |
  | ---- | ------------------------ |
* `-highlightSelection:withColor:`

  Places a rectangle over text that has been selected.

  **Declaration**

  Objective-C

  ```highlight
  - (void)highlightSelection:(nonnull PTSelection *)selection
                   withColor:(nonnull UIColor *)color;
  ```

  Swift

  ```highlight
  func highlight(_ selection: PTSelection, with color: UIColor)
  ```

  **Parameters**

  | `selection` | A selection object.                                                                          |
  | ----------- | -------------------------------------------------------------------------------------------- |
  | `color`     | The color of the drawn rectangle. Set the alpha value to less than 1.0 to give transparency. |
* `-highlightSelections:withColor:`

  Places a rectangle over text that has been selected.

  **Declaration**

  Objective-C

  ```highlight
  - (void)highlightSelections:(nonnull NSArray<PTSelection *> *)selections
                    withColor:(nonnull UIColor *)color;
  ```

  Swift

  ```highlight
  func highlight(_ selections: [PTSelection], with color: UIColor)
  ```

  **Parameters**

  | `selections` | An array of PTSelection objects.                                                             |
  | ------------ | -------------------------------------------------------------------------------------------- |
  | `color`      | The color of the drawn rectangle. Set the alpha value to less than 1.0 to give transparency. |
* `-hideSelectedTextHighlights`

  Clears the rectangle drawn by `highlightSelection:withColor:`.

  **Declaration**

  Objective-C

  ```highlight
  - (void)hideSelectedTextHighlights;
  ```

  Swift

  ```highlight
  func hideSelectedTextHighlights()
  ```
* `-HasSelection`

  Checks if there is any text selection.

  **Declaration**

  Objective-C

  ```highlight
  - (BOOL)HasSelection;
  ```

  Swift

  ```highlight
  func hasSelection() -> Bool
  ```

  **Return Value**

  return true if there is selection, false otherwise.
* `-ClearSelection`

  Remove any text selection.

  **Declaration**

  Objective-C

  ```highlight
  - (void)ClearSelection;
  ```

  Swift

  ```highlight
  func clearSelection()
  ```
* `-GetSelection:`

  Get the text selection for a given page.

  **Declaration**

  Objective-C

  ```highlight
  - (nullable PTSelection *)GetSelection:(int)pagenum;
  ```

  Swift

  ```highlight
  func getSelection(_ pagenum: Int32) -> PTSelection?
  ```

  **Return Value**

  the current text selection for a given page. If there is only selection on one page, then page number does not need to be provided.
* `selectionBeginPage`

  The first page number that has text selection on it. Useful when there are selections on multiple pages at the same time.

  **Declaration**

  Objective-C

  ```highlight
  @property (nonatomic, readonly, getter=GetSelectionBeginPage) int selectionBeginPage;
  ```

  Swift

  ```highlight
  var selectionBeginPage: Int32 { get }
  ```
* `-GetSelectionBeginPage`

  Get the first page number that has text selection on it. Useful when there are selections on multiple pages at the same time.

  **Unavailable in Swift. Please use the property:**

  See

  `selectionBeginPage`

  **Declaration**

  Objective-C

  ```highlight
  - (int)GetSelectionBeginPage;
  ```

  Swift

  ```highlight
  func getSelectionBeginPage() -> Int32
  ```

  **Return Value**

  the first page number that has text selection on it.
* `selectionEndPage`

  The last page number that has text selection on it. Useful when there are selections on multiple pages at the same time.

  **Declaration**

  Objective-C

  ```highlight
  @property (nonatomic, readonly, getter=GetSelectionEndPage) int selectionEndPage;
  ```

  Swift

  ```highlight
  var selectionEndPage: Int32 { get }
  ```
* `-GetSelectionEndPage`

  Get the last page number that has text selection on it. Useful when there are selections on multiple pages at the same time.

  **Unavailable in Swift. Please use the property:**

  See

  `selectionEndPage`

  **Declaration**

  Objective-C

  ```highlight
  - (int)GetSelectionEndPage;
  ```

  Swift

  ```highlight
  func getSelectionEndPage() -> Int32
  ```

  **Return Value**

  the last page number that has text selection on it.
* `-HasSelectionOnPage:`

  Checks if there is any text selection on a given page. Useful when there are selections on multiple pages at the same time.

  **Declaration**

  Objective-C

  ```highlight
  - (BOOL)HasSelectionOnPage:(int)ipage;
  ```

  Swift

  ```highlight
  func hasSelection(onPage ipage: Int32) -> Bool
  ```

  **Return Value**

  returns true if given page number has any text selection on it.
* `-SelectX1:Y1:X2:Y2:`

  Selects text within the given region using the current text selection mode. (x1, y1) and (x2, y2) are two points (screen coordinates, origin located at the upper-left corner of this view) defining the opposite corners of a selection rectangle.

  **Declaration**

  Objective-C

  ```highlight
  - (BOOL)SelectX1:(double)x1 Y1:(double)y1 X2:(double)x2 Y2:(double)y2;
  ```

  Swift

  ```highlight
  func selectX1(_ x1: Double, y1: Double, x2: Double, y2: Double) -> Bool
  ```

  **Return Value**

  true if some text was selected, false otherwise.
* `-SelectX1:Y1:PageNumber1:X2:Y2:PageNumber2:`

  Selects text using structural mode. Point (x1, y1) is the start selection point (in page coordinates space) on page `pageNumber1` and point (x2, y2) is the end selection point on page `pageNumber2`.

  **Declaration**

  Objective-C

  ```highlight
  - (BOOL)SelectX1:(double)x1
                Y1:(double)y1
       PageNumber1:(int)pageNumber1
                X2:(double)x2
                Y2:(double)y2
       PageNumber2:(int)pageNumber2;
  ```

  Swift

  ```highlight
  func selectX1(_ x1: Double, y1: Double, pageNumber1: Int32, x2: Double, y2: Double, pageNumber2: Int32) -> Bool
  ```

  **Return Value**

  true if some text were selected, false otherwise.
* `-SelectWithHighlights:`

  Selects text identified by Highlights.

  **Declaration**

  Objective-C

  ```highlight
  - (BOOL)SelectWithHighlights:(nonnull PTHighlights *)highlights;
  ```

  Swift

  ```highlight
  func select(with highlights: PTHighlights) -> Bool
  ```

  **Parameters**

  | `highlights` | an instance of the Highlights class. |
  | ------------ | ------------------------------------ |

  **Return Value**

  true if some text was selected, false otherwise.
* `-SelectWithSelection:`

  Selects text identified by Selection.

  **Declaration**

  Objective-C

  ```highlight
  - (BOOL)SelectWithSelection:(nonnull PTSelection *)select;
  ```

  Swift

  ```highlight
  func select(with select: PTSelection) -> Bool
  ```

  **Parameters**

  | `select` | an instance of the Selection class. |
  | -------- | ----------------------------------- |

  **Return Value**

  true if some text was selected, false otherwise.
* `-SelectAll`

  Selects all text on the page.

  **Declaration**

  Objective-C

  ```highlight
  - (void)SelectAll;
  ```

  Swift

  ```highlight
  func selectAll()
  ```
* `-PrepareWords:`

  Requests for preparing words of the given page. Note: Words are going to be prepared asynchronously

  **Declaration**

  Objective-C

  ```highlight
  - (void)PrepareWords:(int)page_num;
  ```

  Swift

  ```highlight
  func prepareWords(_ page_num: Int32)
  ```

  **Parameters**

  | `page_num` | - page number |
  | ---------- | ------------- |
* `-WereWordsPrepared:`

  **Declaration**

  Objective-C

  ```highlight
  - (BOOL)WereWordsPrepared:(int)page_num;
  ```

  Swift

  ```highlight
  func wereWordsPrepared(_ page_num: Int32) -> Bool
  ```

  **Parameters**

  | `page_num` | - page number |
  | ---------- | ------------- |

  **Return Value**

  true if words of the given page has been prepared, false otherwise
* `-IsThereTextInRect:y1:x2:y2:`

  **Declaration**

  Objective-C

  ```highlight
  - (BOOL)IsThereTextInRect:(double)x1 y1:(double)y1 x2:(double)x2 y2:(double)y2;
  ```

  Swift

  ```highlight
  func isThereText(inRect x1: Double, y1: Double, x2: Double, y2: Double) -> Bool
  ```

  **Return Value**

  true if there is a text in the given rectangle, false otherwise and point (x2, y2) is the end selection point. The points are defined in screen space.
* `-PrepareAnnotsForMouse:distance_threshold:minimum_line_weight:`

  Requests for preparing annotations of the given page. Note: Annotations are going to be prepared asynchronously

  **Declaration**

  Objective-C

  ```highlight
  - (void)PrepareAnnotsForMouse:(int)page_num
             distance_threshold:(double)distance_threshold
            minimum_line_weight:(double)minimum_line_weight;
  ```

  Swift

  ```highlight
  func prepareAnnots(forMouse page_num: Int32, distance_threshold: Double, minimum_line_weight: Double)
  ```

  **Parameters**

  | `page_num`            | - page number                                                                                                                                                                                                         |
  | --------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | `distance_threshold`  | - Maximum distance from the point (x, y) to the annotation for the annot to be considered a hit.                                                                                                                      |
  | `minimum_line_weight` | - For very thin lines, it is almost impossible to hit the actual line. This specifies a minimum line thickness (in screen coordinates) for the purpose of calculating whether a point is inside the annotation or not |
* `-WereAnnotsForMousePrepared:`

  **Declaration**

  Objective-C

  ```highlight
  - (BOOL)WereAnnotsForMousePrepared:(int)page_num;
  ```

  Swift

  ```highlight
  func wereAnnots(forMousePrepared page_num: Int32) -> Bool
  ```

  **Parameters**

  | `page_num` | - page number |
  | ---------- | ------------- |

  **Return Value**

  true if annotations of the given page have been prepared, false otherwise
* `-GetAnnotTypeUnder:y:`

  **Declaration**

  Objective-C

  ```highlight
  - (PTAnnotType)GetAnnotTypeUnder:(double)x y:(double)y;
  ```

  Swift

  ```highlight
  func getAnnotTypeUnder(_ x: Double, y: Double) -> PTAnnotType
  ```

  **Parameters**

  | `x` | - x coordinate of the input point |
  | --- | --------------------------------- |
  | `y` | - y coordinate in the input point |

  **Return Value**

  annotation type at the given point

#### Add UIViews to a PDF page

* `-addFloatingView:`

  Adds a UIView that will “stick” to a PDF page. The frame of the UIView is assumed to be in the PDFViewCtrl’s coordinate system, and the view will “stick” to page over which it is positioned.

  **Declaration**

  Objective-C

  ```highlight
  - (void)addFloatingView:(nonnull UIView *)view;
  ```

  Swift

  ```highlight
  func addFloating(_ view: UIView)
  ```

  **Parameters**

  | `view` | The view to “stick” to a PDF page. |
  | ------ | ---------------------------------- |
* `-addFloatingView:toPage:withPageRect:noZoom:`

  Adds a UIView that will “stick” to the specified PDF page with the specified rect.

  **Declaration**

  Objective-C

  ```highlight
  - (void)addFloatingView:(nonnull UIView *)view
                   toPage:(int)pageNumber
             withPageRect:(nonnull PTPDFRect *)pageSpaceRect
                   noZoom:(BOOL)noZoom;
  ```

  Swift

  ```highlight
  func addFloating(_ view: UIView, toPage pageNumber: Int32, withPageRect pageSpaceRect: PTPDFRect, noZoom: Bool)
  ```

  **Parameters**

  | `view`          | The view to add to the page.                                                                                                                                                                                              |
  | --------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | `pageNumber`    | The sequence number of the page to add the view to.                                                                                                                                                                       |
  | `pageSpaceRect` | The rectangle, in PDF coordinates, to add the page to.                                                                                                                                                                    |
  | `noZoom`        | If true, the view will be scaled to the screen size which corresponds to the PDF being viewed at 100%, regardless of the actual viewer zoom level. If false, the view will scale with the other elements on the PDF page. |
* `-addFloatingView:toPage:atPagePoint:`

  Adds a view that will “stick” to the specified page at the specified point. The size of the view is determined by the input view’s `frame.size`, and is maintained regardless of the viewer’s zoom level.

  **Declaration**

  Objective-C

  ```highlight
  - (void)addFloatingView:(nonnull UIView *)view
                   toPage:(int)pageNumber
              atPagePoint:(nonnull PTPDFPoint *)pageSpacePoint;
  ```

  Swift

  ```highlight
  func addFloating(_ view: UIView, toPage pageNumber: Int32, atPagePoint pageSpacePoint: PTPDFPoint)
  ```

  **Parameters**

  | `view`           | The view to add to the page.                        |
  | ---------------- | --------------------------------------------------- |
  | `pageNumber`     | The sequence number of the page to add the view to. |
  | `pageSpacePoint` | The point, in PDF coordinates, to add the view to.  |
* `-clearFloatingViews`

  Removes all views added via a `-addFloatingView:` method.

  **Declaration**

  Objective-C

  ```highlight
  - (void)clearFloatingViews;
  ```

  Swift

  ```highlight
  func clearFloatingViews()
  ```
* `-removeFloatingView:`

  Removes the specified view that was added via a `-addFloatingView:` method.

  **Declaration**

  Objective-C

  ```highlight
  - (void)removeFloatingView:(nonnull UIView *)view;
  ```

  Swift

  ```highlight
  func removeFloating(_ view: UIView)
  ```

  **Parameters**

  | `view` | The view to remove. |
  | ------ | ------------------- |
* `-removeFloatingViews:`

  Removes views that were added via a `-addFloatingView:` method.

  **Declaration**

  Objective-C

  ```highlight
  - (void)removeFloatingViews:(nonnull NSArray<UIView *> *)views;
  ```

  Swift

  ```highlight
  func removeFloating(_ views: [UIView])
  ```

  **Parameters**

  | `views` | An array of views to remove. |
  | ------- | ---------------------------- |
* `-repositionFloatingViews`

  Repositions the floating views that were added via a `-addFloatingView:` method.

  **Declaration**

  Objective-C

  ```highlight
  - (void)repositionFloatingViews;
  ```

  Swift

  ```highlight
  func repositionFloatingViews()
  ```
* `-floatingViewsOnPage:`

  Returns an array of views added via a `-addFloatingView` method on the specified page.

  **Declaration**

  Objective-C

  ```highlight
  - (nonnull NSArray<UIView *> *)floatingViewsOnPage:(int)pageNumber;
  ```

  Swift

  ```highlight
  func floatingViews(onPage pageNumber: Int32) -> [UIView]
  ```

  **Parameters**

  | `pageNumber` | The page from which to return views that were added with an `-addFloatingView` method. |
  | ------------ | -------------------------------------------------------------------------------------- |
* `-clearFloatingViewPageCache`

  This method is unlikley to be needed for most use cases, as explained below.

  The control’s floating views are associated with each page via its PDF “object number”. During most document opertions (editing annotations, re-ordering pages, deleting pages, adding new pages), page PDF object numbers do not change. However if saving with the `e_ptlinearized` flag, or if using low-level APIs to purposefully change object numbers, this method must be called to ensure that each floating view is associated with the correct page.

  **Declaration**

  Objective-C

  ```highlight
  - (void)clearFloatingViewPageCache;
  ```

  Swift

  ```highlight
  func clearFloatingViewPageCache()
  ```

#### User Interaction Queries

* `-GetScreenRectForAnnot:page_num:`

  Returns the annotation bounding box present at the specified page number.

  **Declaration**

  Objective-C

  ```highlight
  - (nullable PTPDFRect *)GetScreenRectForAnnot:(nonnull PTAnnot *)annot
                                       page_num:(int)page_num;
  ```

  Swift

  ```highlight
  func getScreenRect(for annot: PTAnnot, page_num: Int32) -> PTPDFRect?
  ```

  **Parameters**

  | `annot`    | The target annotation                                  |
  | ---------- | ------------------------------------------------------ |
  | `page_num` | The page number of the page where the annotation is on |

  **Return Value**

  the annotation bounding box in screen points
* `-GetAnnotationAt:y:distanceThreshold:minimumLineWeight:`

  Returns the annotation present at screen coordinates (x, y). If no annotation is present, callling IsValid on the returned annotation will return false. You must acquire a read lock for the doc when retrieving an annotation.

  **Declaration**

  Objective-C

  ```highlight
  - (nullable PTAnnot *)GetAnnotationAt:(int)x
                                      y:(int)y
                      distanceThreshold:(double)distanceThreshold
                      minimumLineWeight:(double)minimumLineWeight;
  ```

  Swift

  ```highlight
  func getAnnotationAt(_ x: Int32, y: Int32, distanceThreshold: Double, minimumLineWeight: Double) -> PTAnnot?
  ```

  **Parameters**

  | `x`                 | The x location in screen coordinates                                                                                                                                                                                                                                            |
  | ------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | `y`                 | The y location in screen coordinates                                                                                                                                                                                                                                            |
  | `distanceThreshold` | Maximum distance from the point (x, y) to the annotation for the annot to be considered a hit. The value used in versions of the SDK prior to 6.3 was 22.                                                                                                                       |
  | `minimumLineWeight` | For very thin lines, it is almost impossible to hit the actual line. This specifies a minimum line thickness (in screen coordinates) for the purpose of calculating whether a point is inside the annotation or not. The value used in versions of the SDK prior to 6.3 was 10. |

  **Return Value**

  the annotation at (x, y). If there is no annotation at (x, y), the returned annotation’s IsValid method will return false.
* `-GetAnnotationListAt:y1:x2:y2:`

  Returns an array of annotations under the line (x1, y1, x2, y2) expressed in screen coordinates. Does not include form field annotations.

  @returns An array of annotations under the line (x1, y1, x2, y2) expressed in screen coordinates.

  **Declaration**

  Objective-C

  ```highlight
  - (nonnull NSArray<PTAnnot *> *)GetAnnotationListAt:(int)x1
                                                   y1:(int)y1
                                                   x2:(int)x2
                                                   y2:(int)y2;
  ```

  Swift

  ```highlight
  func getAnnotationList(at x1: Int32, y1: Int32, x2: Int32, y2: Int32) -> [PTAnnot]
  ```

  **Parameters**

  | `x1` | The x-coordinate of the first point of the line.  |
  | ---- | ------------------------------------------------- |
  | `y1` | The y-coordinate of the first point of the line.  |
  | `x2` | The x-coordinate of the second point of the line. |
  | `y2` | The y-coordinate of the second point of the line. |
* `-GetAnnotationsOnPage:`

  Returns an array of all of the annotations on a given page.

  **Declaration**

  Objective-C

  ```highlight
  - (nonnull NSArray<PTAnnot *> *)GetAnnotationsOnPage:(int)page_num;
  ```

  Swift

  ```highlight
  func getAnnotationsOnPage(_ page_num: Int32) -> [PTAnnot]
  ```

  **Parameters**

  | `page_num` | The number of the PDF page on which to look for annotaitons. |
  | ---------- | ------------------------------------------------------------ |

  **Return Value**

  An array of annotations that are on the page.
* `-SetDevicePixelDensity:scale_factor:`

  Set device DPI, and scale factor. This affects the rendering of certain content, such as annotations with the no\_zoom flag.

  **Declaration**

  Objective-C

  ```highlight
  - (void)SetDevicePixelDensity:(double)dpi scale_factor:(double)scale_factor;
  ```

  Swift

  ```highlight
  func setDevicePixelDensity(_ dpi: Double, scale_factor: Double)
  ```

  **Parameters**

  | `dpi`          | Scale relative to the internal DPI of 96 (default 1.0).                                                                                              |
  | -------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- |
  | `scale_factor` | Some DPI sensitive content, sush as annotations, can be scaled up, to make the content larger, which can make user interaction easier (default 1.0). |
* `-GetLinkAt:y:`

  Returns the annotation present at screen coordinates (x, y). If no link is present, callling length on the string returned by getUrl of the returned LinkInfo object will be <= 0. You must acquire a read lock for doc when retrieving a LinkInfo object.

  **Declaration**

  Objective-C

  ```highlight
  - (nullable PTLinkInfo *)GetLinkAt:(int)x y:(int)y;
  ```

  Swift

  ```highlight
  func getLinkAt(_ x: Int32, y: Int32) -> PTLinkInfo?
  ```

  **Parameters**

  | `x` | The x location in screen coordinates |
  | --- | ------------------------------------ |
  | `y` | The y location in screen coordinates |

  **Return Value**

  link information for a link present at screen coordinates (x, y).
* `-setMinimumTwoFingersToScrollEnabled:`

  Enables or disables requiring two fingers to scroll the viewer.

  **Declaration**

  Objective-C

  ```highlight
  - (void)setMinimumTwoFingersToScrollEnabled:(_Bool)enabled;
  ```

  Swift

  ```highlight
  func setMinimumTwoFingersToScrollEnabled(_ enabled: Bool)
  ```

  **Parameters**

  | `enabled` | To require two fingers to scroll send YES; otherwise NO. |
  | --------- | -------------------------------------------------------- |

#### Gesture Recognizer Targets

* `-handleTap:`

  Called in response to a single tap gesture and is included here so that subclasses may extend or override the functionality.

  **Declaration**

  Objective-C

  ```highlight
  - (void)handleTap:(nonnull UITapGestureRecognizer *)gestureRecognizer;
  ```

  Swift

  ```highlight
  func handleTap(_ gestureRecognizer: UITapGestureRecognizer)
  ```

  **Parameters**

  | `gestureRecognizer` | The gesture recognizer that trigger the callback. |
  | ------------------- | ------------------------------------------------- |
* `-handleLongPress:`

  Called in response to a long press gesture and is included here so that subclasses may extend or override the functionality.

  **Declaration**

  Objective-C

  ```highlight
  - (void)handleLongPress:
      (nonnull UILongPressGestureRecognizer *)gestureRecognizer;
  ```

  Swift

  ```highlight
  func handleLongPress(_ gestureRecognizer: UILongPressGestureRecognizer)
  ```

  **Parameters**

  | `gestureRecognizer` | The gesture recognizer that trigger the callback. |
  | ------------------- | ------------------------------------------------- |

#### Document Locking/Unlocking

* `-DocLock:`

  Acquires a write lock for PTPDFDoc instance used by PTPDFViewCtrl. Simultaneous write access to a PTPDFDoc instance is not allowed. A write lock cannot be acquired if the thread already holds a read lock. Attempting to do so will throw an exception.

  **Declaration**

  Objective-C

  ```highlight
  - (void)DocLock:(BOOL)cancelThreads;
  ```

  Swift

  ```highlight
  func docLock(_ cancelThreads: Bool)
  ```

  **Parameters**

  | `cancelThreads` | If true, other threads accessing the document are terminated before trying to lock the document. This ensures a quick return from this function. Otherwise, this function can halt the UI and the app may be unresponsive before the other thread finishes. If the rendering thread is canceled, unlocking the document UnlockDoc will restart the rendering thread. |
  | --------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
* `-DocTryLock:`

  Tries to acquire a write lock on the PTPDFDoc instance used by PTPDFViewCtrl. Returns true if it succeeds and false otherwise.

  **Declaration**

  Objective-C

  ```highlight
  - (BOOL)DocTryLock:(int)milliseconds;
  ```

  Swift

  ```highlight
  func docTryLock(_ milliseconds: Int32) -> Bool
  ```

  **Parameters**

  | `milliseconds` | time that the selector will block while trying to aquire the lock before returning. |
  | -------------- | ----------------------------------------------------------------------------------- |

  **Return Value**

  true if the lock was aquired, false otherwise.
* `-DocUnlock`

  Releases a write lock on the PTPDFDoc instance used by PTPDFViewCtrl and restarts the rendering thread if it was canceled.

  **Declaration**

  Objective-C

  ```highlight
  - (void)DocUnlock;
  ```

  Swift

  ```highlight
  func docUnlock()
  ```
* `-DocLockRead`

  Acquires a read lock for PTPDFDoc instance used by PTPDFViewCtrl.

  **Declaration**

  Objective-C

  ```highlight
  - (void)DocLockRead;
  ```

  Swift

  ```highlight
  func docLockRead()
  ```
* `-DocTryLockRead:`

  Tries to acquire read lock on the PTPDFDoc instance used by PTPDFViewCtrl. Returns true if it succeeds and false otherwise.

  **Declaration**

  Objective-C

  ```highlight
  - (BOOL)DocTryLockRead:(int)milliseconds;
  ```

  Swift

  ```highlight
  func docTryLockRead(_ milliseconds: Int32) -> Bool
  ```

  **Parameters**

  | `milliseconds` | time that the selector will block while trying to aquire the lock before returning. |
  | -------------- | ----------------------------------------------------------------------------------- |

  **Return Value**

  true if the lock was aquired, false otherwise.
* `-DocUnlockRead`

  Releases a read lock on the PTPDFDoc instance used by PTPDFViewCtrl.

  **Declaration**

  Objective-C

  ```highlight
  - (void)DocUnlockRead;
  ```

  Swift

  ```highlight
  func docUnlockRead()
  ```
* `-SetZoomLimits:Minimum:Maxiumum:`

  Sets the minimum and maximum zoom bounds of PTPDFViewCtrl.

  Note

  if the zoom limits are relative, 1.0 is defined as the zoom level where the document is displayed in page fit mode, where the entire page is visible on screen.

  **Declaration**

  Objective-C

  ```highlight
  - (void)SetZoomLimits:(TrnZoomLimitMode)mode
                Minimum:(double)min
               Maxiumum:(double)max;
  ```

  Swift

  ```highlight
  func setZoomLimits(_ mode: TrnZoomLimitMode, minimum min: Double, maxiumum max: Double)
  ```

  **Parameters**

  | `mode` | defines how the zoom bounds are to be used |
  | ------ | ------------------------------------------ |
  | `min`  | the minimum zoom bound                     |
  | `max`  | the maximum zoom bound                     |
* `-GetZoomLimitMode`

  Gets the zoom limit mode of the PTPDFViewCtrl.

  See

  `zoomLimitMode`

  **Declaration**

  Objective-C

  ```highlight
  - (TrnZoomLimitMode)GetZoomLimitMode;
  ```

  Swift

  ```highlight
  func getZoomLimitMode() -> TrnZoomLimitMode
  ```
* `-GetZoomMinimumLimit`

  Gets the minimum zoom bound of the PTPDFViewCtrl.

  See

  `zoomMinimumLimit`

  **Declaration**

  Objective-C

  ```highlight
  - (double)GetZoomMinimumLimit;
  ```

  Swift

  ```highlight
  func getZoomMinimumLimit() -> Double
  ```
* `-GetZoomMaximumLimit`

  Gets the maximum zoom bound of the PTPDFViewCtrl.

  See

  `zoomMaximumLimit`

  **Declaration**

  Objective-C

  ```highlight
  - (double)GetZoomMaximumLimit;
  ```

  Swift

  ```highlight
  func getZoomMaximumLimit() -> Double
  ```

#### Coordinate Coversion

* `-GetPageNumberFromScreenPt:y:`

  **Declaration**

  Objective-C

  ```highlight
  - (int)GetPageNumberFromScreenPt:(double)x y:(double)y;
  ```

  Swift

  ```highlight
  func getPageNumber(fromScreenPt x: Double, y: Double) -> Int32
  ```

  **Return Value**

  the number of the page located under the given screen coordinate. The positive number indicates a valid page, whereas number less than 1 means that no page was found.
* `-ConvScreenPtToCanvasPt:`

  Converts a point expressed in screen coordinates to a point on canvas.

  **Declaration**

  Objective-C

  ```highlight
  - (nonnull PTPDFPoint *)ConvScreenPtToCanvasPt:(nonnull PTPDFPoint *)pt;
  ```

  Swift

  ```highlight
  func convScreenPt(toCanvasPt pt: PTPDFPoint) -> PTPDFPoint
  ```
* `-ConvCanvasPtToScreenPt:`

  Converts a point expressed in canvas coordinates to a point on screen.

  **Declaration**

  Objective-C

  ```highlight
  - (nonnull PTPDFPoint *)ConvCanvasPtToScreenPt:(nonnull PTPDFPoint *)pt;
  ```

  Swift

  ```highlight
  func convCanvasPt(toScreenPt pt: PTPDFPoint) -> PTPDFPoint
  ```
* `-ConvCanvasPtToPagePt:page_num:`

  Converts a point expressed in canvas coordinates to a point on a given page.

  **Declaration**

  Objective-C

  ```highlight
  - (nonnull PTPDFPoint *)ConvCanvasPtToPagePt:(nonnull PTPDFPoint *)pt
                                      page_num:(int)page_num;
  ```

  Swift

  ```highlight
  func convCanvasPt(toPagePt pt: PTPDFPoint, page_num: Int32) -> PTPDFPoint
  ```

  **Parameters**

  | `page_num` | the page number for the page used as the origin of the destination coordinate system. Negative values are used to represent the current page. Pages are indexed starting from one. |
  | ---------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
* `-ConvPagePtToCanvasPt:page_num:`

  Converts a point from a coordinate system of a given page to a point on canvas.

  **Declaration**

  Objective-C

  ```highlight
  - (nonnull PTPDFPoint *)ConvPagePtToCanvasPt:(nonnull PTPDFPoint *)pt
                                      page_num:(int)page_num;
  ```

  Swift

  ```highlight
  func convPagePt(toCanvasPt pt: PTPDFPoint, page_num: Int32) -> PTPDFPoint
  ```

  **Parameters**

  | `page_num` | the page number for the page used as the origin of the destination coordinate system. Negative values are used to represent the current page. Pages are indexed starting from one. |
  | ---------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
* `-ConvScreenPtToPagePt:page_num:`

  Converts a point expressed in screen coordinates to a point on a given page.

  **Declaration**

  Objective-C

  ```highlight
  - (nonnull PTPDFPoint *)ConvScreenPtToPagePt:(nonnull PTPDFPoint *)pt
                                      page_num:(int)page_num;
  ```

  Swift

  ```highlight
  func convScreenPt(toPagePt pt: PTPDFPoint, page_num: Int32) -> PTPDFPoint
  ```

  **Parameters**

  | `page_num` | the page number for the page used as the origin of the destination coordinate system. Negative values are used to represent the current page. Pages are indexed starting from one. |
  | ---------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
* `-ConvPagePtToScreenPt:page_num:`

  Converts a point from a coordinate system of a given page to a point on screen. If PDFView is in a non-continous page view mode, and the page is not visible, the result is undefined.

  **Declaration**

  Objective-C

  ```highlight
  - (nonnull PTPDFPoint *)ConvPagePtToScreenPt:(nonnull PTPDFPoint *)pt
                                      page_num:(int)page_num;
  ```

  Swift

  ```highlight
  func convPagePt(toScreenPt pt: PTPDFPoint, page_num: Int32) -> PTPDFPoint
  ```

  **Parameters**

  | `page_num` | the page number for the page used as the origin of the destination coordinate system. Negative values are used to represent the current page. Pages are indexed starting from one. |
  | ---------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
* `-PDFRectPage2CGRectScreen:PageNumber:`

  Converts a `PTPDFRect` in PDF page coordinates to a `CGRect` in screen (`PTPDFViewCtrl`) coordinates.

  @returns The equivalent rectangle, in screen coordinates.

  **Declaration**

  Objective-C

  ```highlight
  - (CGRect)PDFRectPage2CGRectScreen:(nonnull PTPDFRect *)pdfRect
                          PageNumber:(int)pageNumber;
  ```

  Swift

  ```highlight
  func pdfRectPage2CGRectScreen(_ pdfRect: PTPDFRect, pageNumber: Int32) -> CGRect
  ```

  **Parameters**

  | `pdfRect`    | The rectangle in PDF coordinates          |
  | ------------ | ----------------------------------------- |
  | `pageNumber` | The page number that the rectangle is on. |
* `-CGRectScreen2PDFRectPage:PageNumber:`

  Converts a `CGRect` in screen (`PTPDFViewCtrl`) coordinates to a `PTPDFRect` in PDF page coordinates.

  @returns The equivalent rectangle, in page coordinates.

  **Declaration**

  Objective-C

  ```highlight
  - (nonnull PTPDFRect *)CGRectScreen2PDFRectPage:(CGRect)cgRect
                                       PageNumber:(int)pageNumber;
  ```

  Swift

  ```highlight
  func cgRectScreen2PDFRectPage(_ cgRect: CGRect, pageNumber: Int32) -> PTPDFRect
  ```

  **Parameters**

  | `cgRect`     | The rectangle in screen coordinates                                 |
  | ------------ | ------------------------------------------------------------------- |
  | `pageNumber` | The page number for which the returned coordinates should reference |
* `-SnapToNearestInDoc:`

  Snaps a point (in screen space) to the nearest piece of document geometry.

  @returns The nearest point in document geometry.

  **Declaration**

  Objective-C

  ```highlight
  - (nonnull PTPDFPoint *)SnapToNearestInDoc:(nonnull PTPDFPoint *)screen_pt;
  ```

  Swift

  ```highlight
  func snapToNearest(inDoc screen_pt: PTPDFPoint) -> PTPDFPoint
  ```

  **Parameters**

  | `screen_pt` | the point to snap. |
  | ----------- | ------------------ |
* `-SnapToNearestInDocFromPageSpace:pageNumber:`

  Snaps a point (in page space) to the nearest piece of document geometry on the specified page.

  **Declaration**

  Objective-C

  ```highlight
  - (nonnull PTPDFPoint *)SnapToNearestInDocFromPageSpace:
                              (nonnull PTPDFPoint *)pagePoint
                                               pageNumber:(int)pageNumber;
  ```

  Swift

  ```highlight
  func snapToNearestInDoc(fromPageSpace pagePoint: PTPDFPoint, pageNumber: Int32) -> PTPDFPoint
  ```

  **Parameters**

  | `pagePoint`  | the input point in page space.                                |
  | ------------ | ------------------------------------------------------------- |
  | `pageNumber` | the 1-indexed page number of the page whose geometry is used. |

  **Return Value**

  the snapped coordinate in page space.
* `-SetSnappingMode:`

  Set the point snapping mode for the `-SnapToNearestInDoc:` method.

  By default `-SnapToNearestInDoc:` will snap to line endpoints, midpoints, and intersections (ie. the `e_ptDefaultSnapMode` snapping mode).

  **Declaration**

  Objective-C

  ```highlight
  - (void)SetSnappingMode:(unsigned int)mode_flags;
  ```

  Swift

  ```highlight
  func setSnappingMode(_ mode_flags: UInt32)
  ```

  **Parameters**

  | `mode_flags` | a bitwise combination of the members of `PTGeometryCollectionSnappingMode` |
  | ------------ | -------------------------------------------------------------------------- |
* `-GetDeviceTransform:`

  Note

  to obtain a transformation matrix that maps screen coordinates to page coordinates, you can invert the device matrix. For example:

  ```highlight
  Common::Matrix2D scr2page(pdfviewctrl.GetDeviceTransform());
  scr2page.Inverse();
  ```

  **Declaration**

  Objective-C

  ```highlight
  - (nullable PTMatrix2D *)GetDeviceTransform:(int)page_num;
  ```

  Swift

  ```highlight
  func getDeviceTransform(_ page_num: Int32) -> PTMatrix2D?
  ```

  **Parameters**

  | `page_num` | same as for PTPDFViewCtrl.Conv???() methods. |
  | ---------- | -------------------------------------------- |

  **Return Value**

  the device transformation matrix. The device transformation matrix maps the page coordinate system to screen (or device) coordinate system.

#### Viewer Dimensions

* `canvasWidth`

  The current width of the canvas. The canvas coordinate system is defined by a bounding box that surrounds all pages in the view.

  **Declaration**

  Objective-C

  ```highlight
  @property (nonatomic, readonly, getter=GetCanvasWidth) double canvasWidth;
  ```

  Swift

  ```highlight
  var canvasWidth: Double { get }
  ```
* `-GetCanvasWidth`

  Returns the current canvas width.

  **Unavailable in Swift. Please use the property:**

  See

  `canvasWidth`

  **Declaration**

  Objective-C

  ```highlight
  - (double)GetCanvasWidth;
  ```

  Swift

  ```highlight
  func getCanvasWidth() -> Double
  ```
* `canvasHeight`

  The current height of the canvas. The canvas coordinate system is defined by a bounding box that surrounds all pages in the view.

  **Declaration**

  Objective-C

  ```highlight
  @property (nonatomic, readonly, getter=GetCanvasHeight) double canvasHeight;
  ```

  Swift

  ```highlight
  var canvasHeight: Double { get }
  ```
* `-GetCanvasHeight`

  Returns the current canvas height.

  **Unavailable in Swift. Please use the property:**

  See

  `canvasHeight`

  **Declaration**

  Objective-C

  ```highlight
  - (double)GetCanvasHeight;
  ```

  Swift

  ```highlight
  func getCanvasHeight() -> Double
  ```

#### Rendering Starting/Stopping

* `-IsFinishedRendering:`

  **Declaration**

  Objective-C

  ```highlight
  - (BOOL)IsFinishedRendering:(BOOL)visible_region_only;
  ```

  Swift

  ```highlight
  func isFinishedRendering(_ visible_region_only: Bool) -> Bool
  ```

  **Parameters**

  | `visible_region_only` | Specifies if the method refers only to currently visible content. |
  | --------------------- | ----------------------------------------------------------------- |

  **Return Value**

  true is the rendering thread finished rendering the view, false if the rendering is still in progress.
* `-CancelRendering`

  Cancels rendering in progress. If PTPDFViewCtrl is not busy rendering the page, the function has no side effects.

  **Declaration**

  Objective-C

  ```highlight
  - (void)CancelRendering;
  ```

  Swift

  ```highlight
  func cancelRendering()
  ```
* `-Update`

  Redraws the contents of the buffer. Equivalent to Update:NO

  **Declaration**

  Objective-C

  ```highlight
  - (void)Update;
  ```

  Swift

  ```highlight
  func update()
  ```
* `-Update:`

  Redraws the contents of the buffer.

  **Declaration**

  Objective-C

  ```highlight
  - (void)Update:(_Bool)all;
  ```

  Swift

  ```highlight
  func update(_ all: Bool)
  ```

  **Parameters**

  | `all` | if true, all of the rendered content is discarded and re-rendered; otherwise, only the visible region will be re-rendered. |
  | ----- | -------------------------------------------------------------------------------------------------------------------------- |
* `-UpdateWithAnnot:page_num:`

  Redraws the area covered with a given annotation.

  **Declaration**

  Objective-C

  ```highlight
  - (void)UpdateWithAnnot:(nonnull PTAnnot *)annot page_num:(int)page_num;
  ```

  Swift

  ```highlight
  func update(with annot: PTAnnot, page_num: Int32)
  ```

  **Parameters**

  | `annot`    | The annotation to update.                           |
  | ---------- | --------------------------------------------------- |
  | `page_num` | The page number on which the annotation is located. |
* `-UpdateWithRect:`

  Redraws the given area in the buffer.

  **Declaration**

  Objective-C

  ```highlight
  - (void)UpdateWithRect:(nonnull PTPDFRect *)update;
  ```

  Swift

  ```highlight
  func update(with update: PTPDFRect)
  ```

  **Parameters**

  | `update` | The rectangle to update expressed in screen coordinates. |
  | -------- | -------------------------------------------------------- |
* `-UpdateWithField:`

  Redraws the given area covered by the given field. Useful when a field is connected to other fields.

  **Declaration**

  Objective-C

  ```highlight
  - (void)UpdateWithField:(nonnull PTField *)field;
  ```

  Swift

  ```highlight
  func update(with field: PTField)
  ```

  **Parameters**

  | `field` | The field to update. |
  | ------- | -------------------- |
* `-RefreshAndUpdate:`

  Helper function that will refresh annotation and/or field appearances if needed, and then render modified page areas, all based on the contents of the view\_change parameter.

  **Declaration**

  Objective-C

  ```highlight
  - (void)RefreshAndUpdate:(nonnull PTViewChangeCollection *)view_change;
  ```

  Swift

  ```highlight
  func refreshAndUpdate(_ view_change: PTViewChangeCollection)
  ```

  **Parameters**

  | `view_change` | contains all the updated fields and rectangles. |
  | ------------- | ----------------------------------------------- |
* `-RequestRendering`

  Renders content that requires rendering. May be called to resume rendering after CancelRendering.

  **Declaration**

  Objective-C

  ```highlight
  - (void)RequestRendering;
  ```

  Swift

  ```highlight
  func requestRendering()
  ```

#### Memory control

* `-SetRenderedContentBufferSize:`

  Set the suggested memory size of the rendered content.

  PTPDFViewCtrl keeps off-screen content in order to achieve better viewing experience; however, this increases memory usage. By default, PTPDFViewCtrl will use 80% of available memory to render on-screen and off-screen content. The value set here will be overidden if PurgeMemory is called.

  Note

  If you want to minimize memory usage at the cost of viewing experience quality, you can set `allowedMax` to 0 and PTPDFViewCtrl will not keep any off-screen content. Also note that this function only controls the memory used to store rendered content not the entire memory footprint of the control.

  **Declaration**

  Objective-C

  ```highlight
  - (void)SetRenderedContentBufferSize:(long)allowedMax;
  ```

  Swift

  ```highlight
  func setRenderedContentBufferSize(_ allowedMax: Int)
  ```

  **Parameters**

  | `allowedMax` | the allowed heap memory usage in MB. |
  | ------------ | ------------------------------------ |
* `-PurgeMemory`

  Removes all non-visible portions of document to reduce memory consumption. This will reset the value set via SetContentBufferSize back to the default of 80% of available memory.

  Suggested use is in response to a low memory warning. May slightly slow down the time to complete rendering.

  **Declaration**

  Objective-C

  ```highlight
  - (void)PurgeMemory;
  ```

  Swift

  ```highlight
  func purgeMemory()
  ```
* `-SetCaching:`

  Enables of disables caching of images, fonts, and other resources. Disabling caching can lower memory requirements at the expense of rendering speed.

  **Declaration**

  Objective-C

  ```highlight
  - (void)SetCaching:(BOOL)enabled;
  ```

  Swift

  ```highlight
  func setCaching(_ enabled: Bool)
  ```

  **Parameters**

  | `enabled` | if true caching is enabled, if false caching is disabled. @default by default caching is enabled |
  | --------- | ------------------------------------------------------------------------------------------------ |
* `+SetViewerCache:max_cache_size:on_disk:`

  Sets the cache parameters of the page cache on disk (which caches content streams and mipmapped images) for this specific document. These parameters will override the default cache parameters. Note that if this function is called after the document has been rasterized, it has no effect.

  **Declaration**

  Objective-C

  ```highlight
  + (void)SetViewerCache:(nonnull PTSDFDoc *)document
          max_cache_size:(unsigned long)max_cache_size
                 on_disk:(BOOL)on_disk;
  ```

  Swift

  ```highlight
  class func setViewerCache(_ document: PTSDFDoc, max_cache_size: UInt, on_disk: Bool)
  ```

  **Parameters**

  | `document`       | The document whose settings will be modified                    |
  | ---------------- | --------------------------------------------------------------- |
  | `max_cache_size` | The maximum size, in bytes, of the entire document’s page cache |
  | `on_disk`        | Whether or not to store the cache on disk                       |

#### Thumbnails

* `-SetupThumbnails:generate_at_runtime:use_disk_cache:thumb_max_side_length:max_abs_cache_size:max_perc_cache_size:`

  Specify the different thumbnail settings for the viewer.

  **Declaration**

  Objective-C

  ```highlight
  - (void)SetupThumbnails:(BOOL)use_embedded
        generate_at_runtime:(BOOL)generate_at_runtime
             use_disk_cache:(BOOL)use_disk_cache
      thumb_max_side_length:(int)thumb_max_side_length
         max_abs_cache_size:(unsigned long)max_abs_cache_size
        max_perc_cache_size:(double)max_perc_cache_size;
  ```

  Swift

  ```highlight
  func setupThumbnails(_ use_embedded: Bool, generate_at_runtime: Bool, use_disk_cache: Bool, thumb_max_side_length: Int32, max_abs_cache_size: UInt, max_perc_cache_size: Double)
  ```

  **Parameters**

  | `use_embedded`          | Enables or disables using thumbnails embedded in the PDF document as a preview of the rendered page. |
  | ----------------------- | ---------------------------------------------------------------------------------------------------- |
  | `generate_at_runtime`   | Enables or disables generating thumbnails at runtime.                                                |
  | `use_disk_cache`        | Enables or disables caching thumbnails in a temporary disk file.                                     |
  | `thumb_max_side_length` | The maximum size, in pixels, of a dimension of generated thumbnails.                                 |
  | `max_abs_cache_size`    | The absolute maximum size on disk, in bytes, for the temporary thumbnail cache.                      |
  | `max_perc_cache_size`   | The maximum percentage of free disk space, in the range 0 - 1.0, that the cache can take up.         |
* `-ClearThumbCache`

  Clears the thumbnail cache.

  **Declaration**

  Objective-C

  ```highlight
  - (void)ClearThumbCache;
  ```

  Swift

  ```highlight
  func clearThumbCache()
  ```
* `-GetThumbAsync:`

  Requests a thumbnail from the document, which is returned in the delegate method GotThumbAsync:(int)page\_num thumbImage:(UIImage\*)image;

  If there is no document set on the control, it will throw an exception.

  **Declaration**

  Objective-C

  ```highlight
  - (void)GetThumbAsync:(int)page_num;
  ```

  Swift

  ```highlight
  func getThumbAsync(_ page_num: Int32)
  ```
* `-GetThumbAsync:completion:`

  Requests a thumbnail from the document, which is returned in the provided completion block. If there is no document set on the control, this method will throw an exception.

  **Declaration**

  Objective-C

  ```highlight
  - (void)GetThumbAsync:(int)page_num
             completion:(nonnull void (^)(UIImage *_Nullable))completion;
  ```

  Swift

  ```highlight
  func getThumbAsync(_ page_num: Int32) async -> UIImage?
  ```
* `-CancelAllThumbRequests`

  Cancels all outstanding thumbnail requests queued by GetThumbAsync:

  **Declaration**

  Objective-C

  ```highlight
  - (void)CancelAllThumbRequests;
  ```

  Swift

  ```highlight
  func cancelAllThumbRequests()
  ```

#### Miscellaneous

* `pageCount`

  The total number of pages in the document displayed by this PDFViewCtrl.

  If pages are added, moved, or removed from the current document then it is necessary to call the `-UpdatePageLayout` method to synchronize the PDFViewCtrl’s displayed pages with the document’s.

  See

  `-UpdatePageLayout`

  **Declaration**

  Objective-C

  ```highlight
  @property (nonatomic, readonly, getter=GetPageCount) int pageCount;
  ```

  Swift

  ```highlight
  var pageCount: Int32 { get }
  ```
* `-GetPageCount`

  **Unavailable in Swift. Please use the property:**

  See

  `pageCount`

  **Declaration**

  Objective-C

  ```highlight
  - (int)GetPageCount;
  ```

  Swift

  ```highlight
  func getPageCount() -> Int32
  ```

  **Return Value**

  the total number of pages in the document.
* `-UpdatePageLayout`

  Updates the page layout within the view.

  This function must be called after the document page sequence is modified (such as when a page is being added to or removed from the document) or after changes to page dimensions (e.g. after a page is rotated or resized).

  **Declaration**

  Objective-C

  ```highlight
  - (void)UpdatePageLayout;
  ```

  Swift

  ```highlight
  func updatePageLayout()
  ```
* `-setExtraVerticalContent:`

  Used to add extra vertical scroll space to the PDF scroll view (inner scroll view) when the keyboard would otherwise block the bottom of the document when editing interactive forms.

  **Declaration**

  Objective-C

  ```highlight
  - (void)setExtraVerticalContent:(int)points;
  ```

  Swift

  ```highlight
  func setExtraVerticalContent(_ points: Int32)
  ```
* `-keyboardWillShow:rectToNotOverlapWith:`

  Will cause PTPDFViewCtrl to scroll the content so that the onscreen keyboard does not hide the content being edited. See FormFillTool.m in the standard libTools distribution for example usage.

  **Declaration**

  Objective-C

  ```highlight
  - (void)keyboardWillShow:(nonnull NSNotification *)notification
      rectToNotOverlapWith:(CGRect)rect;
  ```

  Swift

  ```highlight
  func keyboardWillShow(_ notification: Notification, rectToNotOverlapWith rect: CGRect)
  ```

  **Parameters**

  | `notification` | The notification object returned by a UIKeyboardWillShowNotification notification. |
  | -------------- | ---------------------------------------------------------------------------------- |
  | `rect`         | The rectangle, in screen coordinates, that the keyboard should not overlap with.   |
* `-keyboardWillShow:rectToNotOverlapWith:topEdge:`

  Will cause PTPDFViewCtrl to scroll the content so that the onscreen keyboard does not hide the content being edited. See FormFillTool.m in the standard libTools distribution for example usage.

  **Declaration**

  Objective-C

  ```highlight
  - (void)keyboardWillShow:(nonnull NSNotification *)notification
      rectToNotOverlapWith:(CGRect)rect
                   topEdge:(CGFloat)topEdge;
  ```

  Swift

  ```highlight
  func keyboardWillShow(_ notification: Notification, rectToNotOverlapWith rect: CGRect, topEdge: CGFloat)
  ```

  **Parameters**

  | `notification` | The notification object returned by a UIKeyboardWillShowNotification notification. |
  | -------------- | ---------------------------------------------------------------------------------- |
  | `rect`         | The rectangle, in screen coordinates, that the keyboard should not overlap with.   |
  | `topEdge`      | The top screen coordinate above which the rectangle should not be scrolled under.  |
* `-keyboardWillHide:`

  Will cause PTPDFViewCtrl to reset the scroll position after a call to keyboardWillShow:rectToNotOverlapWith.

  **Declaration**

  Objective-C

  ```highlight
  - (void)keyboardWillHide:(nonnull NSNotification *)notification;
  ```

  Swift

  ```highlight
  func keyboardWillHide(_ notification: Notification)
  ```

  **Parameters**

  | `notification` | The notificaion object returned by a UIKeyboardWillHideNotification notification. |
  | -------------- | --------------------------------------------------------------------------------- |
* `-zoomScale`

  The zoomScale of PTPDFViewCtrl. This will return 1.0 except when the control is actively being scaled for example by a pinch gesture. To get/set the zoom level of the displayed PDF, use GetZoom and SetZoom.

  **Declaration**

  Objective-C

  ```highlight
  - (double)zoomScale;
  ```

  Swift

  ```highlight
  func zoomScale() -> Double
  ```
* `-ExecuteAction:`

  Requests action object to be executed by PTPDFViewCtrl. Action must belong to the document currently displayed in PTPDFViewCtrl.

  **Declaration**

  Objective-C

  ```highlight
  - (void)ExecuteAction:(nonnull PTAction *)action;
  ```

  Swift

  ```highlight
  func execute(_ action: PTAction)
  ```

  **Parameters**

  | `action` | object that is to be executed. |
  | -------- | ------------------------------ |
* `-ExecuteActionWithActionParameter:`

  Requests action object to be executed by PTPDFViewCtrl. Action must belong to the document currently displayed in PTPDFViewCtrl.

  **Declaration**

  Objective-C

  ```highlight
  - (void)ExecuteActionWithActionParameter:
      (nonnull PTActionParameter *)action_param;
  ```

  Swift

  ```highlight
  func executeAction(with action_param: PTActionParameter)
  ```

  **Parameters**

  | `action_param` | Container for parameters used in handling various actions. |
  | -------------- | ---------------------------------------------------------- |
* `-SetRightToLeftLanguage:`

  Sets if document is to be presented for a left-to-right or right-to-left language. Default is left-to-right.

  **Declaration**

  Objective-C

  ```highlight
  - (void)SetRightToLeftLanguage:(BOOL)isRightToLeft;
  ```

  Swift

  ```highlight
  func setRightToLeftLanguage(_ isRightToLeft: Bool)
  ```

  **Parameters**

  | `isRightToLeft` | true if language is right-to-left; false otherwise. |
  | --------------- | --------------------------------------------------- |
* `-GetRightToLeftLanguage`

  **Declaration**

  Objective-C

  ```highlight
  - (BOOL)GetRightToLeftLanguage;
  ```

  Swift

  ```highlight
  func getRightToLeftLanguage() -> Bool
  ```

  **Return Value**

  true if PTPDFViewCtrl is set to display a PDF with a right-to-left language; false otherwise.
* `-GetPageBox`

  Gets the box used by `PDFViewCtrl` for displaying.

  **Declaration**

  Objective-C

  ```highlight
  - (PTBox)GetPageBox;
  ```

  Swift

  ```highlight
  func getPageBox() -> PTBox
  ```
* `-SetPageBox:`

  Sets the box to display in the viewer.

  **Declaration**

  Objective-C

  ```highlight
  - (void)SetPageBox:(PTBox)region;
  ```

  Swift

  ```highlight
  func setPageBox(_ region: PTBox)
  ```

  **Parameters**

  | `region` | the new `PTBox` to display. |
  | -------- | --------------------------- |
* `-EnableUndoRedo`

  Enable undo/redo in this PDFViewCtrl.

  **Declaration**

  Objective-C

  ```highlight
  - (void)EnableUndoRedo;
  ```

  Swift

  ```highlight
  func enableUndoRedo()
  ```
* `undoRedoEnabled`

  Whether undo/redo is enabled in this PDFViewCtrl. The default value is `NO`.

  **Declaration**

  Objective-C

  ```highlight
  @property (nonatomic, assign, unsafe_unretained, readonly,
            getter=isUndoRedoEnabled) BOOL undoRedoEnabled;
  ```

  Swift

  ```highlight
  var isUndoRedoEnabled: Bool { get }
  ```
* `-CanUndo`

  Returns whether there is an undo state in the undo/redo chain.

  **Declaration**

  Objective-C

  ```highlight
  - (BOOL)CanUndo;
  ```

  Swift

  ```highlight
  func canUndo() -> Bool
  ```

  **Return Value**

  whether there is an undo state in the undo/redo chain
* `-CanRedo`

  Returns whether there is a redo state in the undo/redo chain.

  **Declaration**

  Objective-C

  ```highlight
  - (BOOL)CanRedo;
  ```

  Swift

  ```highlight
  func canRedo() -> Bool
  ```

  **Return Value**

  whether there is a redo state in the undo/redo chain
* `-Undo`

  Return to the previous state in the undo/redo chain. Returns any meta-data associated with that state.

  **Declaration**

  Objective-C

  ```highlight
  - (nonnull NSString *)Undo;
  ```

  Swift

  ```highlight
  func undo() -> String
  ```

  **Return Value**

  meta-data associated with the current state in the undo/redo chain after undoing one state.
* `-Redo`

  Go to the next state in the undo/redo chain. Returns any meta-data associated with that state.

  **Declaration**

  Objective-C

  ```highlight
  - (nonnull NSString *)Redo;
  ```

  Swift

  ```highlight
  func redo() -> String
  ```

  **Return Value**

  meta-data associated with the current state in the undo/redo chain after redoing one state.
* `-HasChangesSinceSnapshot`

  Returns whether the document has been modified since the last undo/redo snapshot was taken.

  **Declaration**

  Objective-C

  ```highlight
  - (BOOL)HasChangesSinceSnapshot;
  ```

  Swift

  ```highlight
  func hasChangesSinceSnapshot() -> Bool
  ```

  **Return Value**

  true if the document was modified since the last snapshot, false otherwise.
* `-TakeUndoSnapshot:`

  Creates a new state at the top of the undo/redo chain by taking a snapshot.

  **Declaration**

  Objective-C

  ```highlight
  - (void)TakeUndoSnapshot:(nonnull NSString *)meta_info;
  ```

  Swift

  ```highlight
  func takeUndoSnapshot(_ meta_info: String)
  ```

  **Parameters**

  | `meta_info` | meta-data to be attached to this new state. |
  | ----------- | ------------------------------------------- |
* `-GetNextUndoInfo`

  Returns any meta-data associated with the previous sate in the undo/redo chain.

  **Declaration**

  Objective-C

  ```highlight
  - (nonnull NSString *)GetNextUndoInfo;
  ```

  Swift

  ```highlight
  func getNextUndoInfo() -> String
  ```

  **Return Value**

  meta-data associated with the previous sate in the undo/redo chain.
* `-GetNextRedoInfo`

  Returns any meta-data associated with the next sate in the undo/redo chain.

  **Declaration**

  Objective-C

  ```highlight
  - (nonnull NSString *)GetNextRedoInfo;
  ```

  Swift

  ```highlight
  func getNextRedoInfo() -> String
  ```

  **Return Value**

  meta-data associated with the next sate in the undo/redo chain.
* `-RevertChangesSinceSnapshot`

  Restores the document to the state of the last undo/redo snapshot, if it has been modified since.

  See

  `-HasChangesSinceSnapshot`

  **Declaration**

  Objective-C

  ```highlight
  - (void)RevertChangesSinceSnapshot;
  ```

  Swift

  ```highlight
  func revertChangesSinceSnapshot()
  ```
* `-RevertAllChanges`

  Returns to the initial state in the undo/redo chain.

  **Declaration**

  Objective-C

  ```highlight
  - (void)RevertAllChanges;
  ```

  Swift

  ```highlight
  func revertAllChanges()
  ```
* `undoManager`

  The `NSUndoManager` instance used by this PDFViewCtrl.

  When `-isUndoRedoEnabled` is `NO`, this property returns the default `UIResponder` value obtained by walking up the responder chain to find the first `NSUndoManager`.

  When `-isUndoRedoEnabled` is `YES`, this property returns a local `NSUndoManager` instance.

  **Declaration**

  Objective-C

  ```highlight
  @property (nonatomic, strong, readonly, nullable) NSUndoManager *undoManager;
  ```

  Swift

  ```highlight
  var undoManager: UndoManager? { get }
  ```
* `externalAnnotManager`

  The `PTExternalAnnotManager` that is created and returned by `-EnableAnnotationManager:`.

  For example usage, please see the `PTCollaborationManager` class in `Tools.framework`.

  **Declaration**

  Objective-C

  ```highlight
  @property (nonatomic, strong, readonly, nullable) PTExternalAnnotManager *externalAnnotManager;
  ```

  Swift

  ```highlight
  var externalAnnotManager: PTExternalAnnotManager? { get }
  ```
* `-EnableAnnotationManager:`

  Enables the collaboration annotation manager. The `e_ptadmin_undo_own` mode is used by default.

  **Declaration**

  Objective-C

  ```highlight
  - (nonnull PTExternalAnnotManager *)EnableAnnotationManager:
      (nonnull NSString *)userID;
  ```

  Swift

  ```highlight
  func enableAnnotationManager(_ userID: String) -> PTExternalAnnotManager
  ```

  **Parameters**

  | `userID` | The name of the author to associate with new annotations. |
  | -------- | --------------------------------------------------------- |

  **Return Value**

  the `PTExternalAnnotManager` created for and associated with this `PTPDFViewCtrl`
* `-EnableAnnotationManager:mode:`

  Enables the collaboration annotation manager.

  **Declaration**

  Objective-C

  ```highlight
  - (nonnull PTExternalAnnotManager *)
      EnableAnnotationManager:(nonnull NSString *)userID
                         mode:(PTExternalAnnotManagerMode)mode;
  ```

  Swift

  ```highlight
  func enableAnnotationManager(_ userID: String, mode: PTExternalAnnotManagerMode) -> PTExternalAnnotManager
  ```

  **Parameters**

  | `userID` | The name of the author to associate with new annotations. |
  | -------- | --------------------------------------------------------- |
  | `mode`   | The `PTExternalAnnotManagerMode` to use.                  |

  **Return Value**

  the `PTExternalAnnotManager` created for and associated with this `PTPDFViewCtrl`
* `-getInsetOffsets`

  The extra left (x) and top (y) scrollable area

  @returns The extra left (x) and top (y) scrollable area

  **Declaration**

  Objective-C

  ```highlight
  - (CGPoint)getInsetOffsets;
  ```

  Swift

  ```highlight
  func getInsetOffsets() -> CGPoint
  ```
* `additionalYOffset`

  Undocumented

  **Declaration**

  Objective-C

  ```highlight
  @property (nonatomic) CGFloat additionalYOffset
  ```

  Swift

  ```highlight
  var additionalYOffset: CGFloat { get set }
  ```

#### Additions

* `-DocLock:withBlock:`

  Synchronously acquires a write lock for the `PTPDFDoc` instance used by the `PTPDFViewCtrl` and executes the given block on the current queue.

  Simultaneous write access to a PTPDFDoc instance is not allowed. A write lock cannot be acquired if the thread already holds a read lock - attempting to do so is an error.

  **Declaration**

  Objective-C

  ```highlight
  - (void)DocLock:(BOOL)cancelThreads
        withBlock:(nonnull void (^)(PTPDFViewCtrl *_Nonnull))block;
  ```

  **Parameters**

  | `cancelThreads` | If true, other threads accessing the document are terminated before trying to lock the document. This ensures a quick return from this function. Otherwise, this function can halt the UI and the app may be unresponsive before the other thread finishes. If the rendering thread is canceled, the rendering thread will restart when the document is unlocked. |
  | --------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | `block`         | The block to perform.                                                                                                                                                                                                                                                                                                                                             |
* `-DocLockReadWithBlock:`

  Synchronously acquires a read lock for the `PTPDFDoc` instance used by the `PTPDFViewCtrl` and executes the given block on the current queue.

  **Declaration**

  Objective-C

  ```highlight
  - (void)DocLockReadWithBlock:(nonnull void (^)(PTPDFViewCtrl *_Nonnull))block;
  ```

  **Parameters**

  | `block` | The block to perform. |
  | ------- | --------------------- |
* `-DocLock:withBlock:error:`

  Synchronously acquires a write lock for the `PTPDFDoc` instance used by the `PTPDFViewCtrl`. Simultaneous write access to a PTPDFDoc instance is not allowed. A write lock cannot be acquired if the thread already holds a read lock. Attempting to do so is an error.

  Any `NSException` thrown while locking or unlocking the document, or executing the block, is converted into an `NSError` object and returned in the `error` parameter.

  Note

  In Swift, this method returns `Void` and is marked with the `throws` keyword to indicate that it throws an error in cases of failure.

  **Declaration**

  Objective-C

  ```highlight
  - (BOOL)DocLock:(BOOL)cancelThreads
        withBlock:(nonnull void (^)(PTPDFDoc *_Nullable))block
            error:(out NSError *_Nullable *_Nullable)error;
  ```

  Swift

  ```highlight
  func docLock(_ cancelThreads: Bool, with block: (PTPDFDoc?) -> Void) throws
  ```

  **Parameters**

  | `cancelThreads` | If true, other threads accessing the document are terminated before trying to lock the document. This ensures a quick return from this function. Otherwise, this function can halt the UI and the app may be unresponsive before the other thread finishes. If the rendering thread is canceled, unlocking the document UnlockDoc will restart the rendering thread. |
  | --------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | `block`         | The block to perform.                                                                                                                                                                                                                                                                                                                                                |
  | `error`         | On input, a pointer to an error object. If an error occurs (an `NSException` is thrown), this pointer is set to an actual error object containing the error information. You may specify `nil` for this parameter if you do not want the error information.                                                                                                          |

  **Return Value**

  `YES` if the document could be locked and the block could be run successfully. If an error occurs (an `NSException` is thrown), this method returns `NO` and assigns an appropriate error object to the `error` parameter.
* `-DocLockReadWithBlock:error:`

  Synchronously acquires a read lock for the `PTPDFDoc` instance used by the `PTPDFViewCtrl` and executes the given block on the current queue. Any `NSException` thrown while locking or unlocking the document, or executing the block, is converted into an `NSError` object and returned in the `error` parameter.

  Note

  In Swift, this method returns `Void` and is marked with the `throws` keyword to indicate that it throws an error in cases of failure.

  **Declaration**

  Objective-C

  ```highlight
  - (BOOL)DocLockReadWithBlock:(nonnull void (^)(PTPDFDoc *_Nullable))block
                         error:(out NSError *_Nullable *_Nullable)error;
  ```

  Swift

  ```highlight
  func docLockRead(_ block: (PTPDFDoc?) -> Void) throws
  ```

  **Parameters**

  | `block` | The block to perform.                                                                                                                                                                                                                                       |
  | ------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | `error` | On input, a pointer to an error object. If an error occurs (an `NSException` is thrown), this pointer is set to an actual error object containing the error information. You may specify `nil` for this parameter if you do not want the error information. |

  **Return Value**

  `YES` if the document could be locked and the block could be run successfully. If an error occurs (an `NSException` is thrown), this method returns `NO` and assigns an appropriate error object to the `error` parameter.
* `-NavigateToPageNumber:error:`

  Navigates the PDFViewCtrl to the page at the specified PDF page number.

  Note

  In Swift, this method returns `Void` and is marked with the `throws` keyword to indicate that it throws an error in cases of failure.

  **Declaration**

  Objective-C

  ```highlight
  - (BOOL)NavigateToPageNumber:(int)pageNumber
                         error:(out NSError *_Nullable *_Nullable)error;
  ```

  Swift

  ```highlight
  func navigate(toPageNumber pageNumber: Int32) throws
  ```

  **Parameters**

  | `pageNumber` | The PDF page number to which to navigate                                                                                                                                                                                       |
  | ------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
  | `error`      | On input, a pointer to an error object. If an error occurs, this pointer is set to an actual error object containing the error information. You may specify `nil` for this parameter if you do not want the error information. |

  **Return Value**

  `YES` if the navigation was successful. If an error occurs, this method returns `NO` and assigns an appropriate error object to the `error` parameter.

#### Text search

* `-prepareTextSearchWithPattern:mode:startPageNumber:endPageNumber:error:`

  Prepares a new `PTTextSearch` instance to perform a text search on the PDFViewCtrl’s current document.

  The search is performed on the current document (`-GetDoc`) and is configured to use the PDFViewCtrl’s right-to-left language setting (`-GetRightToLeftLanguage`) and OCG context (`-GetOCGContext`).

  Note

  In Swift, this method is marked with the `throws` keyword to indicate that it throws an error in cases of failure.

  **Declaration**

  Objective-C

  ```highlight
  - (nullable PTTextSearch *)
      prepareTextSearchWithPattern:(nonnull NSString *)pattern
                              mode:(unsigned int)mode
                   startPageNumber:(int)startPageNumber
                     endPageNumber:(int)endPageNumber
                             error:(out NSError *_Nullable *_Nullable)error;
  ```

  Swift

  ```highlight
  func prepareTextSearch(withPattern pattern: String, mode: UInt32, startPageNumber: Int32, endPageNumber: Int32) throws -> PTTextSearch
  ```

  **Parameters**

  | `pattern`         | The pattern for which to search. When regular expression is used, it contains the expression, and in verbatim mode, it is the exact string for which to search.                                                                |
  | ----------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
  | `mode`            | The mode of the search process.                                                                                                                                                                                                |
  | `startPageNumber` | The start page of the page range in which to search. Passing the `PTTextSearchStartAtFirstPageNumber` constant for this parameter indicates that the range start from the first page.                                          |
  | `endPageNumber`   | The end page of the page range in which to search. Passing the `PTTextSearchEndAtLastPageNumber` constant for this parameter indicates that the range ends at the last page.                                                   |
  | `error`           | On input, a pointer to an error object. If an error occurs, this pointer is set to an actual error object containing the error information. You may specify `nil` for this parameter if you do not want the error information. |

  **Return Value**

  A new `PTTextSearch` instance that has been initialized to search the PDFViewCtrl’s current document using the provided parameters.

#### Annotations

* `-enumerateAnnotationsOnPageNumber:withBlock:`

  Undocumented

  **Declaration**

  Objective-C

  ```highlight
  - (void)enumerateAnnotationsOnPageNumber:(int)pageNumber withBlock:(void (NS_NOESCAPE ^)(PTAnnot *annotation, NSUInteger index, BOOL *stop))block;
  ```

  Swift

  ```highlight
  func enumerateAnnotations(onPageNumber pageNumber: Int32, with block: (PTAnnot, UInt, UnsafeMutablePointer<ObjCBool>) -> Void)
  ```
* `-enumerateAnnotationsFromPageNumber:toPageNumber:withBlock:`

  Undocumented

  **Declaration**

  Objective-C

  ```highlight
  - (void)enumerateAnnotationsFromPageNumber:(int)startPageNumber toPageNumber:(int)endPageNumber withBlock:(void (NS_NOESCAPE ^)(int pageNumber, PTAnnot *annotation, NSUInteger indexOnPage, BOOL *stop))block;
  ```

  Swift

  ```highlight
  func enumerateAnnotations(fromPageNumber startPageNumber: Int32, toPageNumber endPageNumber: Int32, with block: (Int32, PTAnnot, UInt, UnsafeMutablePointer<ObjCBool>) -> Void)
  ```
* `-enumerateAnnotationsWithBlock:`

  Undocumented

  **Declaration**

  Objective-C

  ```highlight
  - (void)enumerateAnnotationsWithBlock:(void (NS_NOESCAPE ^)(int pageNumber, PTAnnot *annotation, NSUInteger indexOnPage, BOOL *stop))block;
  ```

  Swift

  ```highlight
  func enumerateAnnotations() async -> (Int32, PTAnnot, UInt, UnsafeMutablePointer<ObjCBool>)
  ```

#### Zoom

* `zoomWhenPrinted`

  The zoom ratio of point size to physical size

  **Declaration**

  Objective-C

  ```highlight
  @property (nonatomic) double zoomWhenPrinted;
  ```

  Swift

  ```highlight
  var zoomWhenPrinted: Double { get set }
  ```

#### ViewState

* `-GetCurrentViewState`

  Returns the current view state of the PDFViewCtrl.

  **Declaration**

  Objective-C

  ```highlight
  - (nonnull PTDocumentViewState *)GetCurrentViewState;
  ```

  Swift

  ```highlight
  func getCurrentViewState() -> PTDocumentViewState
  ```

  **Return Value**

  the current view state of the PDFViewCtrl.
* `-SetCurrentViewState:`

  Sets the current view state of the PDFViewCtrl.

  **Declaration**

  Objective-C

  ```highlight
  - (void)SetCurrentViewState:(nonnull PTDocumentViewState *)documentViewState;
  ```

  Swift

  ```highlight
  func setCurrentViewState(_ documentViewState: PTDocumentViewState)
  ```

  **Parameters**

  | `documentViewState` | The new view state |
  | ------------------- | ------------------ |

© 2026 [PDFTron Systems, Inc.](https://www.pdftron.com/). All rights reserved. (Last updated: 2026-09-25)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://apryse.gitbook.io/api-markdown-test/api-docs/ios/classes/ptpdfviewctrl.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
