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

PositionBringToFront

Positions the last object addressed as the closest layer on a graphics page, giving it the appearance of being in front of other objects.

Syntax

PositionBringToFront

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

PositionAt, PositionRotate, PositionMirrorVertical, PositionMirrorHorizontal, PositionSendToBack, PositionBringForwards, PositionSendBackwards

Example

' Places an object in front of other objects on a graphics page
GraphicsBuilder.LibraryObjectPlace "include", "agitator", "agit_1_Pos1_g", 2, True
GraphicsBuilder.PositionAt 200, 200
GraphicsBuilder.PositionBringToFront