AGK for Pascal
ContentsIndexHome
PreviousUpNext
TAgkText.SetPosition Method (Single, Single)

Updates the position of a text object in world coordinates.

Syntax
Pascal
procedure SetPosition(const X: Single; const Y: Single); overload;
Parameters 
Description 
const X: Single 
the X coordinate 
const Y: Single 
the Y coordinate 

By default the text is positioned using its top left corner. When using right alignment the text is positioned using its top right corner. When using center alignment the text is positioned using a point halfway along its top edge.

Copyright (c) 2012. All rights reserved.