SvgDrawing Properties |
The SvgDrawing type exposes the following members.
Name | Description | |
---|---|---|
AutoSize |
If true (default) the size of main canvas is calculated from the size of all inner objects. This means that the returned objects will be just as big as its contain objects.
If false the size of svg element is used for the size of main canvas. This is useful for example if you were working on a Letter area and would like to preserve the position of objects inside the Letter.
| |
InnerImage |
Gets the Image returned by last read with ReaderSvg.
| |
InnerReaderSvg |
Gets the ReaderSvg that was used to read the svg or svgz file.
| |
NamedObjectsSource |
Gets or sets one of the ReaderSvgNamedObjectsSourceType as the source to get the object's name. Default value is NamedObjectsSourceType.Auto.
| |
OptimizationPercent |
Gets or sets the geometry optimization percent. 0 means no optimization, 100 means full optimization.
| |
Source |
Gets or sets the Source of the svg or svgz file
| |
SourceStream |
Stream that is used to read svg file. When this property is set (not null) it is used instead of Source property.
| |
Stretch |
Gets or sets the SvgDrawing.Windows.Media.Stretch
mode, which determines how content fits into the available space.
| |
StretchDirection |
Gets or sets the System.Windows.Controls.StretchDirection, which determines
how scaling is applied to the contents of a SvgDrawing.
|