Click or drag to resize
AB4D logo

ReaderSvgReadPathAsPathGeometry Property

If false (default) the path is read as StreamGeometry (better performance). If true the path is read as PathGeometry (worse performance but path can be modified).

Namespace:  Ab2d
Assembly:  Ab2d.ReaderSvg (in Ab2d.ReaderSvg.dll) Version: 7.1.7295.1040
Syntax
C#
public bool ReadPathAsPathGeometry { get; set; }

Property Value

Type: Boolean
Remarks

If ReadPathAsPathGeometry is false (default) all the paths are read as StreamGeometry. The svg file is read much faster and also has better performance when drawn in WPF.

If ReadPathAsPathGeometry is true all the paths are read as PathGeometry. It takes longer to read the svg file. Also the performance in WPF is not as good as with StreamGeometry (ReadPathAsPathGeometry == false). The advantage of PathGeometry is that it can be modified.

See Also