This property sets whether or not the custom brush is enabled.

[Visual Basic] Public Property CustomBrushEnabled As Boolean
[C#] public bool CustomBrushEnabled {get; set;}

Property Value

True: The custom brush is enabled

False: The custom brush is not enabled

Default value is False

Explanation

The CustomBrushEnabled property sets whether or not the custom brush is enabled.

To enable the custom brush, set this property and the Fill property to True.

By setting this property to True, not only is the custom brush enabled for drawing, but the custom brush can be saved into an annotation file and loaded from an annotation file. Even if the object is drawn and read with CustomBrushEnabled property set to True, if it is set to False after drawing and reading, the object will be displayed with a solid fill pattern set by the BackColor property. However, setting the CustomBrushEnabled property to True again will enable the custom fill to be displayed.

Even when CustomBrushEnabled property is set to False and drawing or loading is done, it is possible to change the brush to a custom brush by selectng the object and using the object's property dialog and related properties displayed by setting the DialogCustomBrushVisible property to True.

Note: If you want to mix custom brush and solid brush, please set CustomBrushEnabled property to True and set the solid brush with BrushKind property.

The specifications of the custom brush function are as follows.

Also See

ImageKit.Edit Members | Newtone.ImageKit.Wpf.ImageKit

 

The ImageKit WPF is created by Newtone Corporation