Click or drag to resize
ReaderWmfReadPatternBrushes Property
Gets or sets a Boolean that specifies if pattern brushes are read. Default value is true.

Namespace: Ab2d
Assembly: Ab2d.ReaderWmf (in Ab2d.ReaderWmf.dll) Version: 7.1.5512.1040
Syntax
C#
public bool ReadPatternBrushes { get; set; }

Property Value

Type: Boolean
Remarks

Pattern brushes in GDI+ are not affected by the scale of the shown image. This means that if you zoom in or out of the metafile that is drawn by GDI+, the pattern brush is not scaled and is always the same. In WPF it is not possible to define bitmaps that would be independent of the scale.

Because of this difference, it is possible that sometimes the pattern brushes in WPF does not look correct. To prevent this it is possible to skip reading pattern brushed by setting ReadPatternBrushes to false.

See Also