ScaleWidth Method
See AlsoApplies ToExampleSpecificsScales the width of the shape by a specified factor. For pictures and OLE objects, you can indicate whether you want to scale the shape relative to the original or the current size. Shapes other than pictures and OLE objects are always scaled relative to their current width.
expression.ScaleWidth(Factor, RelativeToOriginalSize, Scale)
expression Required. An expression that returns one of the objects in the Applies To list.
Factor Required Single. Specifies the ratio between the width of the shape after you resize it and the current or original width. For example, to make a rectangle 50 percent larger, specify 1.5 for this argument.
RelativeToOriginalSize Required MsoTriState. False to scale it relative to its current size. You can specify True for this argument only if the specified shape is a picture or an OLE object.
MsoTriState can be one of these MsoTriState constants.
msoCTrue Does not apply to this property.
msoFalse To scale it relative to its current size.
msoTriStateMixed Does not apply to this property.
msoTriStateToggle Does not apply to this property.
msoTrue Can only use this argument if the specified shape is a picture or an OLE object.
Scale Optional MsoScaleFrom. Specifies which part of the shape retains its position when the shape is scaled.
MsoScaleFrom can be one of these MsoScaleFrom constants.
msoScaleFromBottomRight
msoScaleFromMiddle
msoScaleFromTopLeft default