[]
        
(Showing Draft Content)

FarPoint.Win.Spread.DrawingSpace.PSObject.Scale

Scale Method

Scale(float, float)

Adjusts the size of the object by the specified amount.

Declaration
public void Scale(float scaleX, float scaleY)
Public Sub Scale(scaleX As Single, scaleY As Single)
Parameters
Type Name Description
float scaleX

Factor by which to scale the object in the horizontal dimension

float scaleY

Factor by which to scale the object in the vertical dimension

Scale(float, float, bool)

Adjusts the size of the object by the specified amount.

Declaration
public virtual void Scale(float scaleX, float scaleY, bool repaint)
Public Overridable Sub Scale(scaleX As Single, scaleY As Single, repaint As Boolean)
Parameters
Type Name Description
float scaleX

Factor by which to scale the object in the horizontal dimension

float scaleY

Factor by which to scale the object in the vertical dimension

bool repaint

Whether to re-draw the object