Spread Windows Forms 18
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.Drawing Namespace / IGroupShape Interface / ScaleHeight Method
Specifies the ratio between the height of the shape after you resize it and the current or original height.
false to scale it relative to its current size.
One of the constants of ScaleFrom which specifies which part of the shape retains its position when the shape is scaled.


In This Topic
    ScaleHeight Method (IGroupShape)
    In This Topic
    Scales the height of the shape by a specified factor.
    Syntax
    'Declaration
     
    
    Sub ScaleHeight( _
       ByVal factor As Double, _
       ByVal relativeToOriginalSize As Boolean, _
       Optional ByVal scale As ScaleFrom _
    ) 
    'Usage
     
    
    Dim instance As IGroupShape
    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.
    Remarks
    Shapes other than pictures and OLE objects are always scaled relative to their current height.
    See Also