←Select platform

Bounds Property (SvgRenderOptions)

Summary

Gets or sets the destination rectangle, in pixel coordinates.

Syntax

C#
VB
Java
Objective-C
C++
public Leadtools.LeadRectD Bounds {get; set;}
Public Property Bounds As Leadtools.LeadRectD
@property (nonatomic, assign) LeadRectD bounds
public LeadRectD getBounds() 
public void setBounds(LeadRectD bounds) 
public: 
property Leadtools.LeadRectD Bounds { 
   Leadtools.LeadRectD get(); 
   void set (    Leadtools.LeadRectD ); 
} 

Property Value

The destination rectangle, in pixel coordinates.The default value is LeadRectD.Empty.

Remarks

The SVG document will be rendered to fit and center inside this rectangle. SvgRenderOptions.Transform will be applied to this rectangle.

If the value of Bounds is LeadRectD.Empty or has 0 width and 0 height, then the current physical bounds of document (stored in Bounds.Bounds) will be used.

Example

For an example, refer to SvgDocument.Render.

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