Class Tools.FreeTextCreateTool
Extends
Tools.GenericAnnotationCreateTool.
Represents the tool for creating Annotations.FreeTextAnnotation.
Constructor Attributes | Constructor Name and Description |
---|---|
Tools.FreeTextCreateTool(docViewer)
Creates a new instance of the FreeTextCreateTool.
|
Field Attributes | Field Name and Description |
---|---|
The initial text to populate new FreeText annotations with
|
- Fields borrowed from class Tools.GenericAnnotationCreateTool:
- annotation
- Fields borrowed from class Tools.AnnotationSelectTool:
- overrideSelection, PAGE_PADDING
- Fields borrowed from class Tools.Tool:
- docViewer, pageCoordinates
- Methods borrowed from class Tools.Tool:
- contextMenu, getDocumentViewer, keyDown, mouseDoubleClick, mouseLeftDown, mouseLeftUp, mouseMove, switchIn, switchOut
- Events borrowed from class Tools.GenericAnnotationCreateTool:
- annotationAdded, annotationCreated
Class Detail
Tools.FreeTextCreateTool(docViewer)
Creates a new instance of the FreeTextCreateTool.
- Parameters:
- {CoreControls.DocumentViewer} docViewer
- an instance of DocumentViewer.
Field Detail
{string}
initialText
The initial text to populate new FreeText annotations with