←Select platform

IsFlat Property

Summary

Gets a value that indicates whether this SvgDocument is flat.

Syntax

C#
VB
Java
Objective-C
C++
public bool IsFlat {get;}
Public ReadOnly Property IsFlat As Boolean
@property (nonatomic, assign, getter=isFlat) BOOL flat
public boolean isFlat()
public: 
property bool IsFlat { 
   bool get(); 
} 

Property Value

true if this document is flat; otherwise, false.

Remarks

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

Use Flat and ToFlat to flaten a document in-place or return a flat copy of an SvgDocument. 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.

Example

For an example, refer to SvgDocument.

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