Skip to main content

ImageEditorOptions.AllowDraw Property

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

Namespace: DevExpress.XtraPrinting.Preview

Assembly: DevExpress.XtraPrinting.v24.1.dll

NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.Printing

Declaration

public bool AllowDraw { get; set; }

Property Value

Type Description
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 Brush Options Menu Item item to the editor’s menu. The menu item provides the brush size and color options.

Brush Options

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

See Also