Quick PDF logo

GetWrappedTextHeight

Text, Page layout

Description

Get the height of a block of text wrapped to a certain width, based on the current font and text size.

Syntax

Delphi

function TQuickPDF0813.GetWrappedTextHeight(Width: Double; Text: WideString): Double;

ActiveX

Function QuickPDF0813.PDFLibrary::GetWrappedTextHeight(Width As Double,
  Text As String) As Double

DLL

double QuickPDFGetWrappedTextHeight(int InstanceID, double Width, wchar_t * Text)

Parameters

Width The width of the block to wrap the text to
Text The text to wrap

Return values

Returns the height of the text block

Copyright © 2011 Debenu. All rights reserved. AboutContactBlogNewsletterSupportBuyForum