Click or drag to resize
AB4D logo

SvgViewbox Properties

The SvgViewbox type exposes the following members.

Properties
  NameDescription
Public propertyAutoSize
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.
Public propertyInnerReaderSvg
Gets the ReaderSvg that was used to read the svg file. Useful to get the properties of ReaderSvg for example NamedObjects (gets the names of objects as defined in svg file)
Public propertyNamedObjects
Dictionary defined from elements in svg file. Elements ids are keys and its appropriate objects are values.
Public propertyNamedObjectsSource
Gets or sets one of the ReaderSvgNamedObjectsSourceType as the source to get the object's name. Default value is NamedObjectsSourceType.Auto.
Public propertySource
Source or the svg or svgz image.
Public propertySourceStream
Stream that is used to read svg file. When this property is set (not null) it is used instead of Source property.
Top
See Also