←Select platform

SetBounds Method

Summary

Sets the physical (pixel) bounds of this SvgDocument manually

Syntax
C#
VB
Java
Objective-C
C++
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 20.0.2019.3.12
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2019 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Svg Assembly