←Select platform

ClipBounds Property

Summary

Gets or sets the clipping rectangle, in pixel coordinates.

Syntax
C#
VB
Objective-C
C++
Java
public LeadRectD ClipBounds { get; set; } 
Public Property ClipBounds As LeadRectD 
@property (nonatomic, assign) LeadRectD clipBounds 
public LeadRectD getClipBounds() 
public void setClipBounds(LeadRectD clipBounds) 
public: 
property LeadRectD ClipBounds { 
   LeadRectD get(); 
   void set (    LeadRectD ); 
} 

Property Value

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

Remarks

The engine will apply this clipping into Bounds to exclude all or parts of the objects that do not fit. The transformation set in SvgRenderOptions.Transform will not be applied to this rectangle. If this value is an empty Leadtools.LeadRectD or has 0 width and 0 height, then an Empty rectangle will be used to render the entire document and no clipping performed.

Example

For an example, refer to SvgDocument.Render.

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