Win32Prn() > Font and text metrics xHarbour Developers Network  

oWin32Prn:getTextHeight()

Returns the height of a character string in pixels.

Syntax

:getTextHeight( <cString> ) --> nPixelsHeight

Arguments

<cString>
This is a character string to determine the height for.

Description

The method :getTextHeight() determines the maximum height of a character string in pixels and returns the result as a numeric value. For example, the string "Troja" has a bigger height than the string "io".


Copyright © 2006-2007 xHarbour.com Inc. All rights reserved.
http://www.xHarbour.com
Created by docmaker.exe