Technical Reference > Graphics Builder Automation Interface > Page Functions > PageConvertWindowCoordinates

PageConvertWindowCoordinates

Converts the raw window coordinates to page coordinates which account for the scroll bar position.

Syntax

PageConvertWindowCoordinates(XPosition, YPosition)

XPosition:

The raw window X coordinate as input. The page X coordinates as output.

YPosition:

The raw window Y coordinate as input. The page Y coordinate as output.

Return Value

0 (zero) if successful, otherwise an error is returned.

Note: For details on handling return and error values, see Error Handling.