ScaleHeight Method (IShape)
Scales the height of the shape by a specified factor.
'Declaration
Sub ScaleHeight( _
ByVal As Double, _
ByVal As Boolean, _
Optional ByVal As ScaleFrom _
)
'Usage
Dim instance As IShape
Dim factor As Double
Dim relativeToOriginalSize As Boolean
Dim scale As ScaleFrom
instance.ScaleHeight(factor, relativeToOriginalSize, scale)
Parameters
- factor
- Specifies the ratio between the height of the shape after you resize it and the current or original height.
- relativeToOriginalSize
false
to scale it relative to its current size.- scale
- One of the constants of ScaleFrom which specifies which part of the shape retains its position when the shape is scaled.