Overload | Description |
---|---|
AddFreeHandAnnotInteractive(Color,Single,LineCap,LineCap,Single) | Allows users to interactively add a new freehand annotation using the mouse on the current page of the document displayed in the GdViewer control. The annotation object is added following all the parameters you have specified and respecting the dimensions users will define using the mouse as well.
A freehand annotation is an arbitrary line, which users draw by moving the mouse, with specified cap styles on its ending points. The type of the newly added annotation object is GdPictureAnnotationType.AnnotationTypeFreeHand. You can change the annotation properties directly using the GdPicture14.Annotations.AnnotationFreeHand class before or after the successful creation of the annotation object. Please refer to both the BeforeAnnotationAddedByUser and the AnnotationAddedByUser events for how to achieve this. Be aware that the editing mode for annotations must be enabled using the SetAnnotationEditorMode method, otherwise this method will fail. |
AddFreeHandAnnotInteractive(Color,Single,LineCap,LineCap,Single,Boolean) | Allows users to interactively add a new freehand annotation using the mouse on the current page of the document displayed in the GdViewer control. The annotation object is added following all the parameters you have specified and respecting the dimensions users will define using the mouse as well.
A freehand annotation is an arbitrary line, which users draw by moving the mouse, with specified cap styles on its ending points. This method enables users to draw multiple separated freehand lines within one freehand annotation. The type of the newly added annotation object is GdPictureAnnotationType.AnnotationTypeFreeHand. You can change the annotation properties directly using the GdPicture14.Annotations.AnnotationFreeHand class before or after the successful creation of the annotation object. Please refer to both the BeforeAnnotationAddedByUser and the AnnotationAddedByUser events for how to achieve this. Be aware that the editing mode for annotations must be enabled using the SetAnnotationEditorMode method, otherwise this method will fail. |