Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.6.22
|
Leadtools.Svg Assembly > Leadtools.Svg Namespace > SvgDocument Class : Load Method |
public static SvgDocument Load( ILeadStream stream, SvgLoadOptions options )
'Declaration
Public Shared Function Load( _ ByVal stream As ILeadStream, _ ByVal options As SvgLoadOptions _ ) As SvgDocument
'Usage
Dim stream As ILeadStream Dim options As SvgLoadOptions Dim value As SvgDocument value = SvgDocument.Load(stream, options)
public static SvgDocument load(ILeadStream stream, SvgLoadOptions options)
public: static SvgDocument^ Load( ILeadStream^ stream, SvgLoadOptions^ options )
To get and set information about a document's bounds and resolution, refer to SVG Size, Bounds and Flat.
Use one of the Leadtools.Codecs.RasterCodecs.LoadSvg(System.IO.Stream,System.Int32,Leadtools.Codecs.CodecsLoadSvgOptions) or Leadtools.Codecs.RasterCodecs.LoadSvgAsync(System.String,System.Int32,Leadtools.Codecs.CodecsLoadSvgOptions,System.Object) methods to load other compatible formats (like PDF, Doc / DocX, etc.) as SVG documents.