Spread Windows Forms 17
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread.DrawingSpace Namespace / TwoWayArrowShape Class / Scale Method / Scale(Single,Single,Boolean) Method
Factor by which to scale the object in the horizontal dimension
Factor by which to scale the object in the vertical dimension
Whether to re-draw the object


In This Topic
    Scale(Single,Single,Boolean) Method
    In This Topic
    Adjusts the size of the object by the specified amount.
    Syntax
    'Declaration
     
    
    Public Overloads Overridable Sub Scale( _
       ByVal scaleX As Single, _
       ByVal scaleY As Single, _
       ByVal repaint As Boolean _
    ) 
    'Usage
     
    
    Dim instance As TwoWayArrowShape
    Dim scaleX As Single
    Dim scaleY As Single
    Dim repaint As Boolean
     
    instance.Scale(scaleX, scaleY, repaint)
    public virtual void Scale( 
       float scaleX,
       float scaleY,
       bool repaint
    )

    Parameters

    scaleX
    Factor by which to scale the object in the horizontal dimension
    scaleY
    Factor by which to scale the object in the vertical dimension
    repaint
    Whether to re-draw the object
    See Also