Scale Method

Object List Next Object

Defined By:
Printer

Description:

Defines a printer object's coordinate system, which sets the object's boundaries.

Declaration:

Sub Scale(ByVal x1 As Single, ByVal y1 As Single, ByVal x2 As Single, ByVal y2 As Single)


Syntax Description


object Printer object to which the boundaries are applied.

X1, y1 Single-precision values that are the equivalent of the ScaleLeft and Scale Width properties. It defines the object's upper-left corner.

X2, y2 Single-precision values that are the equivalent of the ScaleTop and ScaleHeight properties. It defines the object's lower-right corner.

Details:

Setting the Scale method is the same as setting all four Scale properties (ScaleHeight, ScaleWidth, ScaleTop, and ScaleLeft) in a single expression.

Use this method to reset the printer object's coordinate system to the desired scale. If you do not select a scale, it defaults to twips.

See Also:

ScaleHeight property, ScaleLeft property, ScaleMode property, ScaleTop property, ScaleWidth property