←Select platform

ToFlat Method

Summary
Gets a flat version of this SvgDocument.
Syntax
C#
Objective-C
C++/CLI
Java
Python
- (nullable instancetype)flatCopyWithOptions:(nullable LTSvgFlatOptions *)options 
                                       error:(NSError **)error 
public SvgDocument toFlat(SvgFlatOptions options) 
def ToFlat(self,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

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

Leadtools.Svg Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.