←Select platform

ClipBounds Property

Summary

Gets or sets the clipping rectangle, in pixel coordinates.

Syntax

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

Leadtools.Svg Assembly