[]
        
(Showing Draft Content)

GrapeCity.Documents.Layout.Composition.View.Scale

Scale Method

Scale(float)

Applies a scaling transformation.

Declaration
public View Scale(float scaleFactor)
Public Function Scale(scaleFactor As Single) As View
Parameters
Type Name Description
float scaleFactor

The value to scale by on the X and Y axes.

Returns
Type Description
View

Scale(float, float)

Applies a scaling transformation.

Declaration
public View Scale(float xScaleFactor, float yScaleFactor)
Public Function Scale(xScaleFactor As Single, yScaleFactor As Single) As View
Parameters
Type Name Description
float xScaleFactor

The value to scale by on the X axis.

float yScaleFactor

The value to scale by on the Y axis.

Returns
Type Description
View