←Select platform

ToFlat Method

Summary

Gets a flat version of this SvgDocument.

Syntax

C#
VB
Java
Objective-C
C++
Public Function ToFlat( _ 
   ByVal options As Leadtools.Svg.SvgFlatOptions _ 
) As Leadtools.Svg.SvgDocument 
- (nullable instancetype)flatCopyWithOptions:(nullable LTSvgFlatOptions *)options 
                                       error:(NSError **)error 
public SvgDocument toFlat(SvgFlatOptions options)

Parameters

options
The flat options to use. This can be null.

Return Value

The flat version of this document.

Remarks

For more information about flat SVG documents and bounds and resolution, refer to SVG Size, Bounds and Flat.

If the value of options is null, then this method will use default options as follows:

Member Value
SvgFlatOptions.Size

Leadtools.LeadSizeD.EmptyLeadSizeD.Empty

Use IsFlat to determine whether this SvgDocument is flat. Use SetFlat to set or clear the internal flattening flag manually.

Use CalculateBounds to calculate the physical (pixel) bounds and resolution of this document and Bounds to obtain these values.

This method returns a copy of the document. To flat an SvgDocument in place, use Flat.

Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Svg Assembly
Click or drag to resize