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
)
Public Shared Function ConvertAnnotationBrush (
brush As AnnotationBrush
) As 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:
BrushA 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