SpreadsheetGear
ScaleWidth Method
See Also  Send Feedback
SpreadsheetGear.Shapes Namespace > IShapeRange Interface : ScaleWidth Method

factor
Specifies the factor by which to scale the original or current size.
useOriginalSize
SPecifies whether the original size of pictures should be used as the starting size.
position
Specifies whether the size should be scaled from the top-left, middle or bottom-right of the shape.
Scales the represented shapes by the specified factor from the original or current size and from the specified position.

Syntax

Visual Basic (Declaration) 
Sub ScaleWidth( _
   ByVal factor As Double, _
   ByVal useOriginalSize As Boolean, _
   ByVal position As ScaleFrom _
) 
C# 
void ScaleWidth( 
   double factor,
   bool useOriginalSize,
   ScaleFrom position
)

Parameters

factor
Specifies the factor by which to scale the original or current size.
useOriginalSize
SPecifies whether the original size of pictures should be used as the starting size.
position
Specifies whether the size should be scaled from the top-left, middle or bottom-right of the shape.

Requirements

Platforms: Windows 2000, Windows XP, Windows Vista, Windows Server 2003 and Windows Server 2008. SpreadsheetGear 2008 requires the Microsoft .NET Framework 2.0 and supports .NET 3.0 and .NET 3.5.

See Also

Copyright © 2003-2009 SpreadsheetGear LLC. All Rights Reserved.Help Powered by Innovasys   
SpreadsheetGear is a registered trademark of SpreadsheetGear LLC.
Microsoft, Microsoft Excel and Visual Studio are trademarks or registered trademarks of Microsoft Corporation.