SetOrigin Method

Build 1501 on 14/Nov/2017  This topic last edited on: 23/Mar/2016, at 12:12

Description

Set the ruler zero-point (origin).

Syntax

Fred.SetOrigin (X,Y)

Return value

Returns error code.

Remarks

You can move the page origin (zero-point), by dragging from the square between the rulers to any place on the page or on the pasteboard. This updates the value of XY co-ordinates in the status bar and in the Measurement panel, and it moves zero-point on the horizontal and vertical ruler. The real XY coordinates of the objects (stored in the database) are not changed.

This feature will work only if the Tera or User library contains the function:

Function sysOnSetPageOrigin(X, Y, Qualifier)

 Fred.SetOrigin (X, Y)

End Function

Context

Fred application dispatcher commands

See also

GetOrigin