Back to Devexpress

ImageEditorOptions.AllowDraw Property

windowsforms-devexpress-dot-xtraprinting-dot-preview-dot-imageeditoroptions-792e84cc.md

latest1.7 KB
Original Source

ImageEditorOptions.AllowDraw Property

Indicates whether an end user can draw in the image editor.

Namespace : DevExpress.XtraPrinting.Preview

Assembly : DevExpress.XtraPrinting.v25.2.dll

NuGet Package : DevExpress.Win.Printing

Declaration

csharp
public bool AllowDraw { get; set; }
vb
Public Property AllowDraw As Boolean

Property Value

TypeDescription
Boolean

true if the editor allows end users to draw; otherwise, false.

|

Remarks

When the AllowDraw property is set to true, end users can draw in the editor. This also adds the item to the editor’s menu. The menu item provides the brush size and color options.

Set the AllowDraw property to false to prohibit end users from drawing and to remove the menu item.

See Also

ImageEditorOptions Class

ImageEditorOptions Members

DevExpress.XtraPrinting.Preview Namespace