Technical Reference > Graphics Builder Automation Interface > Events Functions > Selection

Selection

When SelectionEventEnabled is set to TRUE, this event is fired every time a selection is made within a graphics page. The dimension of the selection rectangle is passed as parameters.

Syntax

Selection (FromXPosition, FromYPosition, ToXPosition, ToYPosition)

FromXPosition:

Distance from the left-hand side of the page to top-left hand corner of the selection rectangle (in pixels).

FromYPosition:

Distance from the top of the page to the top-left hand corner of the selection rectangle (in pixels).

ToXPosition:

Distance from the left-hand side of the page to the bottom-right hand corner of the selection rectangle (in pixels).

ToYPosition:

Distance from the top of the page to the bottom-right hand corner of the selection rectangle (in pixels).

See Also