Debenu Quick PDF logo

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 TDebenuPDFLibrary1511.GetTextBound(Edge: Integer): Double;

ActiveX

Function DebenuPDFLibrary1511.PDFLibrary::GetTextBound(Edge As Long) As Double

DLL

double DPLGetTextBound(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

Copyright © 2014 Debenu. All rights reserved. AboutContactBlogNewsletterSupport