[]
Scales the height of the shape by a specified factor.
void ScaleHeight(double factor, bool relativeToOriginalSize, ScaleFrom scale = ScaleFrom.TopLeft)
Sub ScaleHeight(factor As Double, relativeToOriginalSize As Boolean, Optional scale As ScaleFrom = ScaleFrom.TopLeft)
Type | Name | Description |
---|---|---|
double | factor | Specifies the ratio between the height of the shape after you resize it and the current or original height. |
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 height.