PTPanTool
@interface PTPanTool : PTTool
A non-annotating tool that is used to navigate the document. When the user taps or long
presses on the document, the pan tool will check the content of the document for annotaitons
and text, and if found, pass the event to the appropriate tool. When long pressing an
emtpy section of the document, the PTPanTool gives the option to switch to a selection of
annotation creation tools.
-
Shows the UIMenuController after a tap (in addition to after a long press). Default is false.
Declaration
Objective-C
@property (nonatomic) BOOL showMenuOnTap;Swift
var showMenuOnTap: Bool { get set } -
When true, and
showMenuOnTapis true, the next tap event will show the UIMenuController.Declaration
Objective-C
@property (nonatomic) BOOL showMenuNextTap;Swift
var showMenuNextTap: Bool { get set }
-
Create an area annotation with the
PTAreaCreatetool.Declaration
Objective-C
- (void)createArea:(nonnull id)sender;Swift
func createArea(_ sender: Any) -
Create an arrow annotation with the
PTArrowCreatetool.Declaration
Objective-C
- (void)createArrow:(nonnull id)sender;Swift
func createArrow(_ sender: Any) -
Create a callout annotation with the
PTCalloutCreatetool.Declaration
Objective-C
- (void)createCallout:(nonnull id)sender;Swift
func createCallout(_ sender: Any) -
Create a checkbox annotation with the
PTCheckBoxCreatetool.Declaration
Objective-C
- (void)createCheckBox:(nonnull id)sender;Swift
func createCheckBox(_ sender: Any) -
Create a clouded polygon annotation with the
PTCloudCreatetool.Declaration
Objective-C
- (void)createCloud:(nonnull id)sender;Swift
func createCloud(_ sender: Any) -
Create a combo-box annotation with the
PTComboBoxCreatetool.Declaration
Objective-C
- (void)createComboBox:(nonnull id)sender;Swift
func createComboBox(_ sender: Any) -
Create a date-text annotation with the
PTDateTextCreatetool.Declaration
Objective-C
- (void)createDateText:(nonnull id)sender;Swift
func createDateText(_ sender: Any) -
Create an ellipse annotation with the
PTEllipseCreatetool.Declaration
Objective-C
- (void)createEllipse:(nonnull id)sender;Swift
func createEllipse(_ sender: Any) -
Create a file attachment annotation with the
PTFileAttachmentCreatetool.Declaration
Objective-C
- (void)createFileAttachment:(nonnull id)sender;Swift
func createFileAttachment(_ sender: Any) -
Create a freehand ink annotation with the
PTFreeHandCreatetool.Declaration
Objective-C
- (void)createFreeHand:(nonnull id)sender;Swift
func createFreeHand(_ sender: Any) -
Create a freehand highlight annotation with the
PTFreeHandHighlightCreatetool.Declaration
Objective-C
- (void)createFreeHandHighlight:(nonnull id)sender;Swift
func createFreeHandHighlight(_ sender: Any) -
Create a free text annotation with the
PTFreeTextCreatetool.Declaration
Objective-C
- (void)createFreeText:(nonnull id)sender;Swift
func createFreeText(_ sender: Any) -
Create an image stamp annotation with the
PTImageStampCreatetool.Declaration
Objective-C
- (void)createImageStamp:(nonnull id)sender;Swift
func createImageStamp(_ sender: Any) -
Create a line annotation with the
PTLineCreatetool.Declaration
Objective-C
- (void)createLine:(nonnull id)sender;Swift
func createLine(_ sender: Any) -
Create a link annotation with the
PTLinkCreatetool.Declaration
Objective-C
- (void)createLink:(nonnull id)sender;Swift
func createLink(_ sender: Any) -
Create a list-box annotation with the
PTListBoxCreatetool.Declaration
Objective-C
- (void)createListBox:(nonnull id)sender;Swift
func createListBox(_ sender: Any) -
Create a perimeter measurement annotation with the
PTPerimeterCreatetool.Declaration
Objective-C
- (void)createPerimeter:(nonnull id)sender;Swift
func createPerimeter(_ sender: Any) -
Create a polygon annotation with the
PTPolygonCreatetool.Declaration
Objective-C
- (void)createPolygon:(nonnull id)sender;Swift
func createPolygon(_ sender: Any) -
Create a polyline annotation with the
PTPolylineCreatetool.Declaration
Objective-C
- (void)createPolyline:(nonnull id)sender;Swift
func createPolyline(_ sender: Any) -
Create a radio button annotation with the
PTRadioButtonCreatetool.Declaration
Objective-C
- (void)createRadioButton:(nonnull id)sender;Swift
func createRadioButton(_ sender: Any) -
Create a rectangle annotation with the
PTRectangleCreatetool.Declaration
Objective-C
- (void)createRectangle:(nonnull id)sender;Swift
func createRectangle(_ sender: Any) -
Create a redaction annotation with the
PTRectangleRedactionCreatetool.Declaration
Objective-C
- (void)createRedaction:(nonnull id)sender;Swift
func createRedaction(_ sender: Any) -
Create a rubber stamp annotation with the
PTRubberStampCreatetool.Declaration
Objective-C
- (void)createRubberStamp:(nonnull id)sender;Swift
func createRubberStamp(_ sender: Any) -
Create a ruler measurement annotation with the
PTRulerCreatetool.Declaration
Objective-C
- (void)createRuler:(nonnull id)sender;Swift
func createRuler(_ sender: Any) -
Create a (floating) signature annotation with the
PTDigitalSignatureTooltool.Declaration
Objective-C
- (void)createSignature:(nonnull id)sender;Swift
func createSignature(_ sender: Any) -
Create a signature field annotation with the
PTSignatureFieldCreatetool.Declaration
Objective-C
- (void)createSignatureField:(nonnull id)sender;Swift
func createSignatureField(_ sender: Any) -
Create a sticky note annotation with the
PTStickyNoteCreatetool.Declaration
Objective-C
- (void)createStickyNote:(nonnull id)sender;Swift
func createStickyNote(_ sender: Any) -
Create a text field annotation
PTTextFieldCreatetool.Declaration
Objective-C
- (void)createTextField:(nonnull id)sender;Swift
func createTextField(_ sender: Any) -
Switch to the annotation multi-selection
PTAnnotSelectTooltool.Declaration
Objective-C
- (void)multiSelectTool:(nonnull id)sender;Swift
func multiSelect(_ sender: Any)
-
Shows the “Shapes” submenu.
Declaration
Objective-C
- (void)showShapesMenu:(nonnull id)sender;Swift
func showShapesMenu(_ sender: Any) -
Shows the “Measure” submenu.
Declaration
Objective-C
- (void)showMeasureMenu:(nonnull id)sender;Swift
func showMeasureMenu(_ sender: Any) -
Shows the “Attach” submenu.
Declaration
Objective-C
- (void)showAttachMenu:(nonnull id)sender;Swift
func showAttachMenu(_ sender: Any)
PTPanTool Class Reference