←Select platform

Resize Method

Summary
Resizes this SVG document by the specified factor.
Syntax
C#
Objective-C
C++/CLI
Java
Python
public void Resize( 
   double scaleFactor 
) 
- (BOOL)resize:(double)scaleFactor error:(NSError **)error NS_SWIFT_NAME(resize(scaleFactor:)); 
public void resize(double scaleFactor) 
public: 
void Resize(  
   double scaleFactor 
)  
def Resize(self,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 23.0.2024.5.23
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

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