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 TDebenuPDFLibrary1811.GetTextWidth(Text: WideString): Double;

ActiveX

Function DebenuPDFLibrary1811.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 © 2020 Debenu. All rights reserved. AboutContactBlogNewsletterSupport