Draws the annotation.
Image Annotation Tool Button control, Image Edit control
object.Draw Left,Top[,Width,Height]
Parameter | Data Type | Setting |
Left | Long | The starting horizontal coordinate of the annotation in image pixels |
Top | Long | The starting vertical coordinate of the annotation in image pixels |
Width | Long | The width of the annotation in image pixels |
Height | Long | The height of the annotation in image pixels |
None
The Draw method draws the annotation specified by the AnnotationType property, standard Annotation Tool Palette, or SelectTool method on the displayed image. The method draws the annotation in accordance with the coordinates specified in the left, top, width, and height parameters.
The width and height parameters must be specified when using the following annotation types:
Select Annotations (optional; see the following Note)
Freehand Line
Filled Rectangle
Hollow Rectangle
Straight Line
Attach-a-Note
Width and height parameter entry is optional when using the Select Annotations annotation type. If only the left and top parameters are specified, selection can be made by point. If all of the parameters are specified, selection can be made using the Select Annotations rectangle.
Annotation topics in Imaging Concepts
AnnotationType property
Image topics in Imaging Concepts
MarkEnd event
SelectTool method (Image Edit control)