IWorkspaceBox.Scale

Syntax

Scale: Double;

Description

The Scale property determines a workspace scale.

Comments

Available value of the property is within the range [0,1 - 10], which corresponds to the scale 10-1000%.

Example

Executing the example requires a form with the Button1 button, the WorkspaceBox component named WorkspaceBox1 and a data source for WorkspaceBox1.

Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Begin
    WorkspaceBox1.Scale := 3;
End Sub Button1OnClick;

On clicking the button the scale 300% is set for the workspace.

See also:

IWorkspaceBox