←Select platform

Resize Method

Summary

Resizes this SVG document by the specified factor.

Syntax
C#
VB
Objective-C
C++
Java
public void Resize( 
   double scaleFactor 
) 
Public Sub Resize( _ 
   ByVal scaleFactor As Double _ 
)  
- (BOOL)resize:(double)scaleFactor error:(NSError **)error 
public void resize(double scaleFactor) 
public: 
void Resize(  
   double scaleFactor 
)  

Parameters

scaleFactor
Factor to use. This value must not be 0.

Remarks

This method works by updating the view box of the internal SVG document and will not resize each item physically. The SvgDocument must be flat. When this value returns, the value of Bounds will be updated with the new size.

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