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

ActiveX

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

DLL

double QuickPDFGetTextBound(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 © 2011 Debenu. All rights reserved. AboutContactBlogNewsletterSupportBuyForum