[]
        
(Showing Draft Content)

GrapeCity.Documents.Text.ObjectRect.Scale

Scale Method

Scale(float)

Scales all coordinates of a rectangle by the specified scaleFactor.

Declaration
public void Scale(float scaleFactor)
Public Sub Scale(scaleFactor As Single)
Parameters
Type Name Description
float scaleFactor

Scale(float, float)

Scales all coordinates of a rectangle by the specified scaleX and scaleY.

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