ReaderSvg Methods |
The ReaderSvg type exposes the following members.
Name | Description | |
---|---|---|
GetCustomProperties(Object) |
Returns a Dictionary of custom properties defined for the object with objectName (only custom properties defined in Microsoft Visio are supported).
| |
GetCustomProperties(String) |
Returns a Dictionary of custom properties defined for the object with objectName (only custom properties defined in Microsoft Visio are supported).
| |
GetCustomPropertiesDataTable |
Returns a System.Data.DataTable with all custom properties defined in svg file (only custom properties defined in Microsoft Visio are supported).
| |
GetElementsForLayerName |
Returns a List of UIElements that are assigned to the layer with layerName (layers can be only defined in Microsoft Visio).
| |
GetElementSvgText |
GetElementSvgText can be called after the svg file has been read.
It returns svg text of the element with with the specified elementName and elementNameType.
If the element is not found, null is returned.
| |
GetLayerNames |
Returns a List of layer names that were defined in Microsoft Visio.
| |
GetObjectName |
Gets the name of the object read with ReadSvg. This is the opposite as using NamedObjects dictionary. Returns null if object is not found or it does not have a name defined.
| |
GetObjectsWithCustomProperties |
Returns List of objects that have custom properties defined (only custom properties defined in Microsoft Visio are supported).
| |
GetXaml |
Gets xaml of the last read svg or svgz file with the default setting for WPF.
| |
GetXaml(BaseXamlWriterSettings) |
Gets xaml of the last read svg or svgz.
| |
Read(Stream) |
Reads svg file from stream - useful for reading svg files from resources. The file is read as Shapes (Canvas, Path, Ellipse, etc.).
| |
Read(String) |
Reads svg or svgz file from file system or from online source. The file is read as Shapes (Canvas, Path, Ellipse, etc.).
| |
ReadGeometry(Stream) |
Reads svg or svgz file and returns System.Windows.Controls.Image with elements as Drawings (DrawingGeometry, EllipseGeometry, GlyphRunDrawing etc.) with no optimization.
| |
ReadGeometry(String) |
Reads svg or svgz file and returns System.Windows.Controls.Image with elements as Drawings (DrawingGeometry, EllipseGeometry, GlyphRunDrawing etc.) with no optimization.
| |
ReadGeometry(Stream, GeometrySettings) |
Reads svg or svgz file and returns System.Windows.Controls.Image with elements as Drawings (DrawingGeometry, EllipseGeometry, GlyphRunDrawing etc.).
| |
ReadGeometry(String, GeometrySettings) |
Reads svg or svgz file and returns System.Windows.Controls.Image with elements as Drawings (DrawingGeometry, EllipseGeometry, GlyphRunDrawing etc.).
| |
RenderToBitmap(Brush) |
Renders the read svg objects into bitmap. Bitmap will have the same size as read svg object and will be rendered at 96 dpi.
| |
RenderToBitmap(Brush, Int32) |
Renders the read svg objects into bitmap. Bitmap will have the same size as read svg object and will be rendered at dpi specified in the parameter.
| |
RenderToBitmap(Int32, Int32, Brush) |
Renders the read svg objects into bitmap with custom width and height and at 96 dpi.
| |
RenderToBitmap(Int32, Int32, Int32, Brush) |
Renders the read svg objects into bitmap with custom width and height and at dpi specified with parameter to the method.
| |
Transform |
Transform method transforms all the coordinates, sizes and other values in the last read Viewbox with using transformation.
| |
TransformFromPixelsToMM |
TransformFromPixelsToMM method transforms all the coordinates, sizes and other values in the last read Viewbox in such a way that it converts all units in pixels into millimeters with using specified dpi setting.
|