SpreadsheetGear
ScaleWidth Method
See Also  Send Feedback
SpreadsheetGear.Shapes Namespace > IShape 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 this shape 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: x86 and x64 versions of Windows 2000, Windows XP, Windows Vista, Windows 7, Windows Server 2003 (including R2) and Windows Server 2008 (including R2). SpreadsheetGear 2009 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.