←Select platform
In This Topic ▼

SvgDocument Class Members

Summary

The following tables list the members exposed by SvgDocument.

Protected Constructors

Name Description
Protected Constructor
SvgDocument This constructor is required by System.Runtime.Serialization.ISerializable

Public Methods

Name Description
Public Method
AddElementIDs Adds unique IDs to the elements of this SvgDocument.
Public Method ApplyViewPerspective Rotates and/or flips this SvgDocument.
Public Method BeginRenderOptimize Optimizes the document for rendering.
Public Method BeginUpdate Begins a process to update the elements (nodes) of an SVG document.
Public Method CalculateBounds Calculates the physical (pixel) bounds and resolution of this SvgDocument.
Public Method Clone Creates an exact copy of this SvgDocument.
Public Method EndRenderOptimize Clears the rendering optimization data.
Public Method EndUpdate Ends a process that updates the elements (nodes) of an SVG document.
Public Method EnumerateElements Enumerates the elements (nodes) of this SvgDocument with the specified options.
Public Method Flat Flattens this SvgDocument.
Public Method GetObjectData Populates a specified System.Runtime.Serialization.SerializationInfo with the data needed to serialize this object.
Public Method HasElement Gets a value that indicates whether this SVG document contains any elements of the specified type.
Public Method
static  | Shared in VB</div>
load Creates an SvgDocument object from a LEAD stream containing SVG data.
Public Method static  | Shared in VB LoadFromFile Creates an SvgDocument object from an SVG file on disk.
Public Method static  | Shared in VB LoadFromMemory Creates an SvgDocument object from data saved in a memory buffer.
Public Method static  | Shared in VB LoadFromStream Creates an SvgDocument object from a stream containing SVG data.
Public Method MergeWith Merges the content of this SVG document with the element of a source document. Stores the result in this SVG document.
Public Method OptimizeView For internal use.
Public Method Rasterize Renders this SvgDocument to the surface of a LEADTOOLS Leadtools.RasterImage object.
Public Method Render Renders this SvgDocument to an output engine.
Public Method Resize Resizes this SVG document by the specified factor.
Public Method save Saves this SvgDocument to a LEAD stream.
Public Method SaveToFile Saves this SvgDocument to a disk file.
Public Method SaveToStream Saves this SvgDocument to a stream.
Public Method SetBounds Sets the physical (pixel) bounds of this SvgDocument manually
Public Method SetFilterElementsCallback Sets the optional callback used to exclude svg elements from various operations.
Public Method SetFlat Sets the flat flag of this document.
Public Method SortElements Enumerates the elements of this SvgDocument in a sorted manner.
Public Method ToFlat Gets a flat version of this SvgDocument.

Protected Methods

Name Description
Protected Method
Dispose Releases all resources used by this SvgDocument.
Protected Method Finalize This method overrides System.Object.Finalize

Public Properties

Name Description
Public Property
Bounds Gets the physical (pixel) bounds and resolution of this SvgDocument.
Public Property Handle Returns the internal SVG document handle. Used internally by LEADTOOLS.
Public Property IsFlat Gets a value that indicates whether this SvgDocument is flat.
Public Property IsNull Checks whether this SVG document is the global null instance.
Public Property IsRenderOptimized Gets a value that indicates whether this document has optimized rendering data.
Public Property Version Gets or sets the SVG version of the document.

Public Fields

Name Description
Public Field
static  | Shared in VB
NullInstance An object that represents a null SvgDocument.

Help Version 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Svg Assembly