AGK for Pascal
TAgkText.TotalHeight Property

Returns the current height of the text object in world units.

property TotalHeight: Single;

This does not take into account the individual offsets of characters, if you have used SetCharPos or similar to move a character. The returned value is the height used by the default drawing position of the text characters. Note that if the string of the text is empty then this value will return 0.

Copyright (c) 2012. All rights reserved.