GetTextWidth
Text, Fonts, Page layout
Description
Calculate the width of the specified text, based on the selected font and font size.
Syntax
Delphi
function TPDFlib.GetTextWidth(Const Text: WideString): Double;ActiveX
Function PDFlib::GetTextWidth(Text As String) As DoubleDLL
double DLGetTextWidth(int InstanceID, wchar_t * Text);Parameters
| Text | The text to determine the width for |
|---|
Return values
| The width of the specified text |