←Select platform

SetBounds Method

Summary
Sets the physical (pixel) bounds of this SvgDocument manually
Syntax
C#
Objective-C
C++/CLI
Java
Python
public void SetBounds( 
   SvgBounds bounds 
) 
- (BOOL)setBounds:(LTSvgBounds *)bounds error:(NSError **)error; 
public void setBounds(SvgBounds bounds) 
public: 
void SetBounds(  
   SvgBounds bounds 
)  
def SetBounds(self,bounds): 

Parameters

bounds
The bounds to use.

Remarks

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

To calculate the physical bounds of a document based on the child elements, use CalculateBounds.

Requirements

Target Platforms

Help Version 22.0.2023.4.20
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Svg Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.