[]
Scales the width of the shape by a specified factor.
void ScaleWidth(double factor, bool relativeToOriginalSize, ScaleFrom scale = ScaleFrom.TopLeft)
Sub ScaleWidth(factor As Double, relativeToOriginalSize As Boolean, Optional scale As ScaleFrom = ScaleFrom.TopLeft)
Type | Name | Description |
---|---|---|
double | factor | Specifies the ratio between the width of the shape after you resize it and the current or original width. |
bool | relativeToOriginalSize |
|
ScaleFrom | scale | One of the constants of ScaleFrom which specifies which part of the shape retains its position when the shape is scaled. |
Shapes other than pictures and OLE objects are always scaled relative to their current width.