Contains tools for pan scrolling, text selection, annotation editing and annotation creation. You can access it as follows:
Example
WebViewer(...) .then(function(instance) { const Tools = instance.Tools; // Tools.SomeClass });
Classes
- AnnotationEditTool
- AnnotationSelectTool
- AreaMeasurementCreateTool
- ArrowCreateTool
- CalloutCreateTool
- CountMeasurementCreateTool
- CropCreateTool
- DistanceMeasurementCreateTool
- EllipseCreateTool
- EllipseMeasurementCreateTool
- EraserTool
- FileAttachmentCreateTool
- FreeHandCreateTool
- FreeTextCreateTool
- GenericAnnotationCreateTool
- LineCreateTool
- MarqueeZoomTool
- PageCoordinate
- PanTool
- PerimeterMeasurementCreateTool
- PolygonCloudCreateTool
- PolygonCreateTool
- PolylineCreateTool
- RectangleCreateTool
- RectangularAreaMeasurementTool
- RedactionCreateTool
- RubberStampCreateTool
- SignatureCreateTool
- StampCreateTool
- StickyCreateTool
- TextAnnotationCreateTool
- TextHighlightCreateTool
- TextSelectTool
- TextSquigglyCreateTool
- TextStrikeoutCreateTool
- TextTool
- TextUnderlineCreateTool
- Tool
Members
-
<static> ToolNames
-
Represents the names for the built-in tools
Properties:
Name Type Description ARROW
string name of the arrow line tool ARROW2
string name of the second arrow line tool ARROW3
string name of the third arrow line tool ARROW4
string name of the fourth arrow line tool CALLOUT
string name of the callout tool CALLOUT2
string name of the second callout tool CALLOUT3
string name of the third callout tool CALLOUT4
string name of the fourth callout tool ELLIPSE
string name of the ellipse tool ELLIPSE2
string name of the second ellipse tool ELLIPSE3
string name of the third ellipse tool ELLIPSE4
string name of the fourth ellipse tool FREEHAND
string name of the freehand tool FREEHAND2
string name of the second freehand tool FREEHAND3
string name of the third freehand tool FREEHAND4
string name of the fourth freehand tool FREETEXT
string name of the freetext tool FREETEXT2
string name of the second freetext tool FREETEXT3
string name of the third freetext tool FREETEXT4
string name of the fourth freetext tool LINE
string name of the line tool LINE2
string name of the second line tool LINE3
string name of the third line tool LINE4
string name of the fourth line tool POLYGON
string name of the polygon tool POLYGON2
string name of the second polygon tool POLYGON3
string name of the third polygon tool POLYGON4
string name of the fourth polygon tool POLYGON_CLOUD
string name of the polygon cloud tool POLYGON_CLOUD2
string name of the second polygon cloud tool POLYGON_CLOUD3
string name of the third polygon cloud tool POLYGON_CLOUD4
string name of the fourth polygon cloud tool POLYLINE
string name of the polyline tool POLYLINE2
string name of the second polyline tool POLYLINE3
string name of the third polyline tool POLYLINE4
string name of the fourth polyline tool RECTANGLE
string name of the rectangle tool RECTANGLE2
string name of the second rectangle tool RECTANGLE3
string name of the third rectangle tool RECTANGLE4
string name of the fourth rectangle tool DISTANCE_MEASUREMENT
string name of the distance measurement tool DISTANCE_MEASUREMENT2
string name of the second distance measurement tool DISTANCE_MEASUREMENT3
string name of the third distance measurement tool DISTANCE_MEASUREMENT4
string name of the fourth distance measurement tool PERIMETER_MEASUREMENT
string name of the perimeter measurement tool PERIMETER_MEASUREMENT2
string name of the second perimeter measurement tool PERIMETER_MEASUREMENT3
string name of the third perimeter measurement tool PERIMETER_MEASUREMENT4
string name of the fourth perimeter measurement tool AREA_MEASUREMENT
string name of the area measurement tool AREA_MEASUREMENT2
string name of the second area measurement tool AREA_MEASUREMENT3
string name of the third area measurement tool AREA_MEASUREMENT4
string name of the fourth area measurement tool COUNT_MEASUREMENT
string name of the count measurement tool COUNT_MEASUREMENT2
string name of the second count measurement tool COUNT_MEASUREMENT3
string name of the third count measurement tool COUNT_MEASUREMENT4
string name of the fourth count measurement tool SIGNATURE
string name of the signature tool STAMP
string name of the stamp tool FILEATTACHMENT
string name of the file attachment tool STICKY
string name of the sticky note tool STICKY2
string name of the second sticky note tool STICKY3
string name of the third sticky note tool STICKY4
string name of the fourth sticky note tool HIGHLIGHT
string name of the text highlight tool HIGHLIGHT2
string name of the second text highlight tool HIGHLIGHT3
string name of the third text highlight tool HIGHLIGHT4
string name of the fourth text highlight tool SQUIGGLY
string name of the text squiggly tool SQUIGGLY2
string name of the second text squiggly tool SQUIGGLY3
string name of the third text squiggly tool SQUIGGLY4
string name of the fourth text squiggly tool STRIKEOUT
string name of the text strikeout tool STRIKEOUT2
string name of the second text strikeout tool STRIKEOUT3
string name of the third text strikeout tool STRIKEOUT4
string name of the fourth text strikeout tool UNDERLINE
string name of the text underline tool UNDERLINE2
string name of the second text underline tool UNDERLINE3
string name of the third text underline tool UNDERLINE4
string name of the fourth text underline tool REDACTION
string name of the text redaction tool TEXT_SELECT
string name of the text select tool EDIT
string name of the edit(select) tool PAN
string name of the pan tool CROP
string name of the page crop tool MARQUEE
string name of the marquee zoom tool ERASER
string name of the eraser tool