Technical Reference > Graphics Builder Automation Interface > Arrange and Position Functions > PositionAt

PositionAt

Positions the active object at the specified location. The destination coordinates is adjusted if OptionSnapToGrid or OptionSnapToGuidelines are set to TRUE.

Syntax

PositionAt(XPosition, YPosition)

XPosition:

Absolute X position in pixels from the left side of the page.

YPosition:

Absolute Y position in pixels from the top of the page.

Return Value

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

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

Related Functions

PositionRotate, PositionMirrorVertical, PositionMirrorHorizontal, PositionSendToBack, PositionBringToFront, PositionBringForwards, PositionSendBackwards

Example

GraphicsBuilder.LibraryObjectPlace "include", "agitator", "agit_1_Pos1_g", 2, True
GraphicsBuilder.PositionAt "200,200"