←Select platform
In This Topic ▼

SvgDocument Class Methods

Summary

For a list of all members of this type, see SvgDocument members

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 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

See Also

Reference

SvgDocument Class

Leadtools.Svg Namespace

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

Leadtools.Svg Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.