[]
        
(Showing Draft Content)

GrapeCity.Drawing.IDrawingContext.IsCompatible

IsCompatible Method

IsCompatible(IVisualShape, bool)

Gets a boolean value indicating whether the visualElement can be painted by this drawing context natively.

Declaration
bool IsCompatible(IVisualShape visualElement, bool includedChildren)
Function IsCompatible(visualElement As IVisualShape, includedChildren As Boolean) As Boolean
Parameters
Type Name Description
IVisualShape visualElement

The GrapeCity.Drawing.IVisualShape.

bool includedChildren

True if checks the children compatible; otherwise False.

Returns
Type Description
bool

true if the visual element can be painted natively; otherwise, the result is not compatible.