GetTextBound
Text, Fonts, Page layout
Description
Returns the bounding box of the font. This is the largest rectangle which can enclose every character of the font. The top and bottom are measured from the baseline of the font.
Syntax
Delphi
function TPDFlib.GetTextBound(Edge: Integer): Double;ActiveX
Function PDFlib::GetTextBound(Edge As Long) As DoubleDLL
double DLGetTextBound(int InstanceID, int Edge);Parameters
| Edge | The edge measurement to retrieve: 1 = Left 2 = Top 3 = Right 4 = Bottom |
|---|
Return values
| 0 | The edge specified was not valid |
|---|---|
| Non-zero | The specified edge measurement |