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
showMenuOnTap
is 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
PTAreaCreate
tool.Declaration
Objective-C
- (void)createArea:(nonnull id)sender;
Swift
func createArea(_ sender: Any)
-
Create an arrow annotation with the
PTArrowCreate
tool.Declaration
Objective-C
- (void)createArrow:(nonnull id)sender;
Swift
func createArrow(_ sender: Any)
-
Create a callout annotation with the
PTCalloutCreate
tool.Declaration
Objective-C
- (void)createCallout:(nonnull id)sender;
Swift
func createCallout(_ sender: Any)
-
Create a checkbox annotation with the
PTCheckBoxCreate
tool.Declaration
Objective-C
- (void)createCheckBox:(nonnull id)sender;
Swift
func createCheckBox(_ sender: Any)
-
Create a clouded polygon annotation with the
PTCloudCreate
tool.Declaration
Objective-C
- (void)createCloud:(nonnull id)sender;
Swift
func createCloud(_ sender: Any)
-
Create a combo-box annotation with the
PTComboBoxCreate
tool.Declaration
Objective-C
- (void)createComboBox:(nonnull id)sender;
Swift
func createComboBox(_ sender: Any)
-
Create a date-text annotation with the
PTDateTextCreate
tool.Declaration
Objective-C
- (void)createDateText:(nonnull id)sender;
Swift
func createDateText(_ sender: Any)
-
Create an ellipse annotation with the
PTEllipseCreate
tool.Declaration
Objective-C
- (void)createEllipse:(nonnull id)sender;
Swift
func createEllipse(_ sender: Any)
-
Create a file attachment annotation with the
PTFileAttachmentCreate
tool.Declaration
Objective-C
- (void)createFileAttachment:(nonnull id)sender;
Swift
func createFileAttachment(_ sender: Any)
-
Create a freehand ink annotation with the
PTFreeHandCreate
tool.Declaration
Objective-C
- (void)createFreeHand:(nonnull id)sender;
Swift
func createFreeHand(_ sender: Any)
-
Create a freehand highlight annotation with the
PTFreeHandHighlightCreate
tool.Declaration
Objective-C
- (void)createFreeHandHighlight:(nonnull id)sender;
Swift
func createFreeHandHighlight(_ sender: Any)
-
Create a free text annotation with the
PTFreeTextCreate
tool.Declaration
Objective-C
- (void)createFreeText:(nonnull id)sender;
Swift
func createFreeText(_ sender: Any)
-
Create an image stamp annotation with the
PTImageStampCreate
tool.Declaration
Objective-C
- (void)createImageStamp:(nonnull id)sender;
Swift
func createImageStamp(_ sender: Any)
-
Create a line annotation with the
PTLineCreate
tool.Declaration
Objective-C
- (void)createLine:(nonnull id)sender;
Swift
func createLine(_ sender: Any)
-
Create a link annotation with the
PTLinkCreate
tool.Declaration
Objective-C
- (void)createLink:(nonnull id)sender;
Swift
func createLink(_ sender: Any)
-
Create a list-box annotation with the
PTListBoxCreate
tool.Declaration
Objective-C
- (void)createListBox:(nonnull id)sender;
Swift
func createListBox(_ sender: Any)
-
Create a perimeter measurement annotation with the
PTPerimeterCreate
tool.Declaration
Objective-C
- (void)createPerimeter:(nonnull id)sender;
Swift
func createPerimeter(_ sender: Any)
-
Create a polygon annotation with the
PTPolygonCreate
tool.Declaration
Objective-C
- (void)createPolygon:(nonnull id)sender;
Swift
func createPolygon(_ sender: Any)
-
Create a polyline annotation with the
PTPolylineCreate
tool.Declaration
Objective-C
- (void)createPolyline:(nonnull id)sender;
Swift
func createPolyline(_ sender: Any)
-
Create a radio button annotation with the
PTRadioButtonCreate
tool.Declaration
Objective-C
- (void)createRadioButton:(nonnull id)sender;
Swift
func createRadioButton(_ sender: Any)
-
Create a rectangle annotation with the
PTRectangleCreate
tool.Declaration
Objective-C
- (void)createRectangle:(nonnull id)sender;
Swift
func createRectangle(_ sender: Any)
-
Create a redaction annotation with the
PTRectangleRedactionCreate
tool.Declaration
Objective-C
- (void)createRedaction:(nonnull id)sender;
Swift
func createRedaction(_ sender: Any)
-
Create a rubber stamp annotation with the
PTRubberStampCreate
tool.Declaration
Objective-C
- (void)createRubberStamp:(nonnull id)sender;
Swift
func createRubberStamp(_ sender: Any)
-
Create a ruler measurement annotation with the
PTRulerCreate
tool.Declaration
Objective-C
- (void)createRuler:(nonnull id)sender;
Swift
func createRuler(_ sender: Any)
-
Create a (floating) signature annotation with the
PTDigitalSignatureTool
tool.Declaration
Objective-C
- (void)createSignature:(nonnull id)sender;
Swift
func createSignature(_ sender: Any)
-
Create a signature field annotation with the
PTSignatureFieldCreate
tool.Declaration
Objective-C
- (void)createSignatureField:(nonnull id)sender;
Swift
func createSignatureField(_ sender: Any)
-
Create a sticky note annotation with the
PTStickyNoteCreate
tool.Declaration
Objective-C
- (void)createStickyNote:(nonnull id)sender;
Swift
func createStickyNote(_ sender: Any)
-
Create a text field annotation
PTTextFieldCreate
tool.Declaration
Objective-C
- (void)createTextField:(nonnull id)sender;
Swift
func createTextField(_ sender: Any)
-
Switch to the annotation multi-selection
PTAnnotSelectTool
tool.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)