Debenu Quick PDF logo

GetTextWidth

Text, Fonts, Page layout

Description

Calculate the width of the specified text, based on the selected font and font size.

Syntax

Delphi

function TDebenuPDFLibrary1511.GetTextWidth(Text: WideString): Double;

ActiveX

Function DebenuPDFLibrary1511.PDFLibrary::GetTextWidth(Text As String) As Double

DLL

double DPLGetTextWidth(int InstanceID, wchar_t * Text)

Parameters

Text The text to determine the width for

Return values

The width of the specified text

Copyright © 2014 Debenu. All rights reserved. AboutContactBlogNewsletterSupport