GetWrappedTextLineCount
Description
Determine the number of lines a block of text wrapped to a certain width will take up, based on the current font and text size.
Syntax
Delphi
function TQuickPDF0813.GetWrappedTextLineCount(Width: Double;
Text: WideString): Integer;
ActiveX
Function QuickPDF0813.PDFLibrary::GetWrappedTextLineCount(Width As Double,
Text As String) As Long
DLL
int QuickPDFGetWrappedTextLineCount(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
| The number of lines |