Click or drag to resize

WpfObjectConverterConvertAnnotationBrush Method

Converts an AnnotationBrush into a System.Windows.Media.Brush.

Namespace:  Atalasoft.Annotate.Wpf
Assembly:  Atalasoft.dotImage.Wpf (in Atalasoft.dotImage.Wpf.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
public static Brush ConvertAnnotationBrush(
	AnnotationBrush brush
)

Parameters

brush
Type: Atalasoft.AnnotateAnnotationBrush
The brush to convert. If this argument is null (Nothing in VB) the return value will be null.

Return Value

Type: Brush
A System.Windows.Media.Brush representing the AnnotationBrush.
Remarks
Since WPF does not have a HatchBrush class, it will be converted into a SolidColorBrush.
See Also