←Select platform

SetFlat Method

Summary

Sets the flat flag of this document.

Syntax

C#
VB
Java
Objective-C
C++
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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Svg Assembly