See Also

IShape Interface  | IShape Members

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Language

Visual Basic

C#

C++

C++/CLI

Show All

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.
See Also Languages SpreadsheetGear The Performance Spreadsheet Component Company 

ScaleWidth Method

SpreadsheetGear.Shapes Namespace > IShape Interface : ScaleWidth Method (IShape)

Scales this shape by the specified factor from the original or current size and from the specified position.

[Visual Basic]
Overridable Sub ScaleWidth( _    ByVal factor As Double, _    ByVal useOriginalSize As Boolean, _    ByVal position As ScaleFrom _ )
[C#]
virtual void ScaleWidth(    double factor,    bool useOriginalSize,    ScaleFrom position );
[C++]
virtual void ScaleWidth(    double factor,    bool useOriginalSize,    ScaleFrom position )
[C++/CLI]
virtual 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 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

IShape Interface  | IShape Members

 

 


See our live Excel Reporting, Excel Charting, Excel to DataGrid and Excel Calculation Samples.

Copyright © 2003-2007 SpreadsheetGear LLC. All Rights Reserved.

SpreadsheetGear and Spreadsheet Gear are trademarks of SpreadsheetGear LLC.