←Select platform

SetBounds Method

Summary
Sets the physical (pixel) bounds of this SvgDocument manually
Syntax
C#
VB
Objective-C
C++
Java
public void SetBounds( 
   SvgBounds bounds 
) 
Public Sub SetBounds( _ 
   ByVal bounds As SvgBounds _ 
)  
- (BOOL)setBounds:(LTSvgBounds *)bounds error:(NSError **)error 
public void setBounds(SvgBounds bounds) 
public: 
void SetBounds(  
   SvgBounds 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 21.0.2021.6.30
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Svg Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.