ImageGear .NET v25.2 - Updated
ImageGear.Windows.Controls Assembly / ImageGear.Windows.Controls Namespace / ImGearAnnotationSettings Class / DrawPreview Property




In This Topic
    DrawPreview Property
    In This Topic
    Gets or sets a value indicating whether an annotation placeholder is used when drawing an annotation.
    Syntax
    'Declaration
     
    Public Property DrawPreview As Boolean
    'Usage
     
    Dim instance As ImGearAnnotationSettings
    Dim value As Boolean
     
    instance.DrawPreview = value
     
    value = instance.DrawPreview
    public bool DrawPreview {get; set;}
    public: __property bool get_DrawPreview();
    public: __property void set_DrawPreview( 
       bool value
    );
    public:
    property bool DrawPreview {
       bool get();
       void set (    bool value);
    }

    Property Value

    Boolean value.
    Remarks

    If set to true, a preview mark is used when an annotation is being added using the mouse. The color and opacity of the preview mark is specified by the ImageGear.Windows.Controls.PageView.MouseToolSettings.Annotation.CreatorColor and ImageGear.Windows.Controls.PageView.MouseToolSettings.Annotation.CreatorOpacity properties. If set to false, the appearance of the mark as it is being added using the mouse will match the appearance of the mark after it has been added.

    The default value is false.
    See Also