←Select platform

SetFlat Method

Summary

Sets the flat flag of this document.

Syntax
C#
VB
Objective-C
C++
Java
public void SetFlat( 
   bool value 
) 
Public Sub SetFlat( _ 
   ByVal value As Boolean _ 
)  
@property (nonatomic, assign, getter=isFlat) BOOL flat 
public void setFlat(boolean isFlat) 
public: 
void SetFlat(  
   bool value 
)  

Parameters

value
true to force the flat-state of this document, false; to clear it.

Remarks

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

Use IsFlat to obtain a value that indicates whether this document is flat.

Use Flat and ToFlat to flat a document in-place or return a flat copy of an SvgDocument.

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

Example

For an example, refer to SvgDocument.

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