←Select platform

Load Method

Summary

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

Syntax

C#
VB
Java
C++
Public Shared Function Load( _ 
   ByVal stream As ILeadStream, _ 
   ByVal options As Leadtools.Svg.SvgLoadOptions _ 
) As Leadtools.Svg.SvgDocument 
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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Svg Assembly