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.Core.Tools;
// Tools.SomeClass
});
Classes
- AddImageContentTool
- AddParagraphTool
- AnnotationEditTool
- AnnotationSelectTool
- ArcCreateTool
- ArcMeasurementCreateTool
- AreaMeasurementCreateTool
- ArrowCreateTool
- CalibrationMeasurementTool
- CalloutCreateTool
- ChangeViewCreateTool
- CheckBoxFormFieldCreateTool
- CloudyRectangularAreaMeasurementTool
- ComboBoxFormFieldCreateTool
- ContentEditTool
- CountMeasurementCreateTool
- CropCreateTool
- DateFreeTextCreateTool
- DistanceMeasurementCreateTool
- EllipseCreateTool
- EllipseMeasurementCreateTool
- EraserTool
- FileAttachmentCreateTool
- FormFieldCreateTool
- FreeHandCreateTool
- FreeHandHighlightCreateTool
- FreeTextCreateTool
- GenericAnnotationCreateTool
- LineCreateTool
- ListBoxFormFieldCreateTool
- MarkInsertTextCreateTool
- MarkReplaceTextCreateTool
- MarqueeZoomTool
- PageCoordinate
- PanTool
- PerimeterMeasurementCreateTool
- PolygonCloudCreateTool
- PolygonCreateTool
- PolylineCreateTool
- RadioButtonFormFieldCreateTool
- RectangleCreateTool
- RectangularAreaMeasurementTool
- RedactionCreateTool
- RubberStampCreateTool
- SignatureCreateTool
- SignatureFormFieldCreateTool
- SnippingCreateTool
- StampCreateTool
- StickyCreateTool
- TextAnnotationCreateTool
- TextFormFieldCreateTool
- TextHighlightCreateTool
- TextSelectTool
- TextSquigglyCreateTool
- TextStrikeoutCreateTool
- TextTool
- TextUnderlineCreateTool
- Tool
Members
-
<static> SnapModes
-
Enum for snap mode name and values. Snap modes control which point within the page is considered as the queried point.
Properties:
Name Type Description DEFAULTnumber POINT_ON_LINEnumber LINE_MID_POINTnumber LINE_INTERSECTIONnumber PATH_ENDPOINTnumber -
<static> ToolNames
-
Represents the names for the built-in tools
Properties:
Name Type Description ARCstring name of the arc tool ARC2string name of the second arc tool ARC3string name of the third arc tool ARC4string name of the fourth arc tool ARROWstring name of the arrow line tool ARROW2string name of the second arrow line tool ARROW3string name of the third arrow line tool ARROW4string name of the fourth arrow line tool CALLOUTstring name of the callout tool CALLOUT2string name of the second callout tool CALLOUT3string name of the third callout tool CALLOUT4string name of the fourth callout tool ELLIPSEstring name of the ellipse tool ELLIPSE2string name of the second ellipse tool ELLIPSE3string name of the third ellipse tool ELLIPSE4string name of the fourth ellipse tool FREEHANDstring name of the freehand tool FREEHAND2string name of the second freehand tool FREEHAND3string name of the third freehand tool FREEHAND4string name of the fourth freehand tool FREEHAND_HIGHLIGHTstring name of the freehand highlight tool FREEHAND_HIGHLIGHT2string name of the second freehand highlight tool FREEHAND_HIGHLIGHT3string name of the third freehand highlight tool FREEHAND_HIGHLIGHT4string name of the fourth freehand highlight tool FREETEXTstring name of the freetext tool FREETEXT2string name of the second freetext tool FREETEXT3string name of the third freetext tool FREETEXT4string name of the fourth freetext tool DATE_FREETEXTstring name of the fourth freetext tool MARK_INSERT_TEXTstring name of the mark insert text tool MARK_INSERT_TEXT2string name of the second mark insert text tool MARK_INSERT_TEXT3string name of the third mark insert text tool MARK_INSERT_TEXT4string name of the fourth mark insert text tool MARK_REPLACE_TEXTstring name of the mark replace text tool MARK_REPLACE_TEXT2string name of the second mark replace text tool MARK_REPLACE_TEXT3string name of the third mark replace text tool MARK_REPLACE_TEXT4string name of the fourth mark replace text tool FORM_FILL_CROSSstring name of the cross stamp tool FORM_FILL_CHECKMARKstring name of the check stamp tool FORM_FILL_DOTstring name of the dot stamp tool LINEstring name of the line tool LINE2string name of the second line tool LINE3string name of the third line tool LINE4string name of the fourth line tool POLYGONstring name of the polygon tool POLYGON2string name of the second polygon tool POLYGON3string name of the third polygon tool POLYGON4string name of the fourth polygon tool POLYGON_CLOUDstring name of the polygon cloud tool POLYGON_CLOUD2string name of the second polygon cloud tool POLYGON_CLOUD3string name of the third polygon cloud tool POLYGON_CLOUD4string name of the fourth polygon cloud tool POLYLINEstring name of the polyline tool POLYLINE2string name of the second polyline tool POLYLINE3string name of the third polyline tool POLYLINE4string name of the fourth polyline tool RECTANGLEstring name of the rectangle tool RECTANGLE2string name of the second rectangle tool RECTANGLE3string name of the third rectangle tool RECTANGLE4string name of the fourth rectangle tool CALIBRATION_MEASUREMENTstring name of the calibration measurement tool DISTANCE_MEASUREMENTstring name of the distance measurement tool DISTANCE_MEASUREMENT2string name of the second distance measurement tool DISTANCE_MEASUREMENT3string name of the third distance measurement tool DISTANCE_MEASUREMENT4string name of the fourth distance measurement tool PERIMETER_MEASUREMENTstring name of the perimeter measurement tool PERIMETER_MEASUREMENT2string name of the second perimeter measurement tool PERIMETER_MEASUREMENT3string name of the third perimeter measurement tool PERIMETER_MEASUREMENT4string name of the fourth perimeter measurement tool AREA_MEASUREMENTstring name of the area measurement tool AREA_MEASUREMENT2string name of the second area measurement tool AREA_MEASUREMENT3string name of the third area measurement tool AREA_MEASUREMENT4string name of the fourth area measurement tool CLOUDY_RECTANGULAR_AREA_MEASUREMENTstring name of the cloudy area measurement tool CLOUDY_RECTANGULAR_AREA_MEASUREMENT2string name of the second cloudy area measurement tool CLOUDY_RECTANGULAR_AREA_MEASUREMENT3string name of the third cloudy area measurement tool CLOUDY_RECTANGULAR_AREA_MEASUREMENT4string name of the fourth cloudy area measurement tool COUNT_MEASUREMENTstring name of the count measurement tool COUNT_MEASUREMENT2string name of the second count measurement tool COUNT_MEASUREMENT3string name of the third count measurement tool COUNT_MEASUREMENT4string name of the fourth count measurement tool ARC_MEASUREMENTstring name of the arc measurement tool ARC_MEASUREMENT2string name of the second arc measurement tool ARC_MEASUREMENT3string name of the third arc measurement tool ARC_MEASUREMENT4string name of the fourth arc measurement tool ELLIPSE_MEASUREMENTstring name of the ellipse measurement tool ELLIPSE_MEASUREMENT2string name of the second ellipse measurement tool ELLIPSE_MEASUREMENT3string name of the third ellipse measurement tool ELLIPSE_MEASUREMENT4string name of the fourth ellipse measurement tool RECTANGULAR_AREA_MEASUREMENTstring name of the rectangular area measurement tool RECTANGULAR_AREA_MEASUREMENT2string name of the second rectangular area measurement tool RECTANGULAR_AREA_MEASUREMENT3string name of the third rectangular area measurement tool RECTANGULAR_AREA_MEASUREMENT4string name of the fourth rectangular area measurement tool SIGNATUREstring name of the signature tool STAMPstring name of the stamp tool FILEATTACHMENTstring name of the file attachment tool RUBBER_STAMPstring name of the rubber stamp tool STICKYstring name of the sticky note tool STICKY2string name of the second sticky note tool STICKY3string name of the third sticky note tool STICKY4string name of the fourth sticky note tool HIGHLIGHTstring name of the text highlight tool HIGHLIGHT2string name of the second text highlight tool HIGHLIGHT3string name of the third text highlight tool HIGHLIGHT4string name of the fourth text highlight tool SQUIGGLYstring name of the text squiggly tool SQUIGGLY2string name of the second text squiggly tool SQUIGGLY3string name of the third text squiggly tool SQUIGGLY4string name of the fourth text squiggly tool STRIKEOUTstring name of the text strikeout tool STRIKEOUT2string name of the second text strikeout tool STRIKEOUT3string name of the third text strikeout tool STRIKEOUT4string name of the fourth text strikeout tool UNDERLINEstring name of the text underline tool UNDERLINE2string name of the second text underline tool UNDERLINE3string name of the third text underline tool UNDERLINE4string name of the fourth text underline tool REDACTIONstring Name of the text redaction tool REDACTION2string Name of the second text redaction tool REDACTION3string Name of the third text redaction tool REDACTION4string Name of the fourth text redaction tool TEXT_SELECTstring name of the text select tool OFFICE_EDITOR_CONTENT_SELECTstring name of the office editor content select tool EDITstring name of the edit(select) tool PANstring name of the pan tool CROPstring name of the page crop tool SNIPPINGstring name of the page snipping tool MARQUEEstring name of the marquee zoom tool ERASERstring name of the eraser tool CONTENT_EDITstring name of the content edit tool ADD_PARAGRAPHstring name of the add paragraph tool ADD_IMAGE_CONTENTstring name of the add image content tool TEXT_FORM_FIELDstring name of the Text Form Field creation tool TEXT_FORM_FIELD2string name of the second Text Form Field creation tool TEXT_FORM_FIELD3string name of the third Text Form Field creation tool TEXT_FORM_FIELD4string name of the fourth Text Form Field creation tool SIG_FORM_FIELDstring name of the Signature Form Field creation tool SIG_FORM_FIELD2string name of the second Signature Form Field creation tool SIG_FORM_FIELD3string name of the third Signature Form Field creation tool SIG_FORM_FIELD4string name of the fourth Signature Form Field creation tool CHECK_BOX_FIELDstring name of the Check Box Form Field creation tool CHECK_BOX_FIELD2string name of the second Check Box Form Field creation tool CHECK_BOX_FIELD3string name of the third Check Box Form Field creation tool CHECK_BOX_FIELD4string name of the fourth Check Box Form Field creation tool RADIO_FORM_FIELDstring name of the Radio Button Form Field creation tool RADIO_FORM_FIELD2string name of the second Radio Button Form Field creation tool RADIO_FORM_FIELD3string name of the third Radio Button Form Field creation tool RADIO_FORM_FIELD4string name of the fourth Radio Button Form Field creation tool LIST_BOX_FIELDstring name of the List Box Form Field creation tool LIST_BOX_FIELD2string name of the second List Box Form Field creation tool LIST_BOX_FIELD3string name of the third List Box Form Field creation tool LIST_BOX_FIELD4string name of the fourth List Box Form Field creation tool COMBO_BOX_FIELDstring name of the Combo Box Form Field creation tool COMBO_BOX_FIELD2string name of the second Combo Box Form Field creation tool COMBO_BOX_FIELD3string name of the third Combo Box Form Field creation tool COMBO_BOX_FIELD4string name of the fourth Combo Box Form Field creation tool