←Select platform

Load Method

Summary

Creates an SvgDocument object from a LEAD stream containing SVG data.

Syntax
Java
public static SvgDocument load(ILeadStream stream, SvgLoadOptions options) 

Parameters

stream
The stream containing SVG data.

options
Options to use during load. If this parameter is null, then the default SvgLoadOptions will be used.

Return Value

The SvgDocument object this method creates.

Remarks

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.

Requirements

Target Platforms

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