GetTextWidth
Texto, Fontes, Layout da página
Descrição
Calcula a largura do texto especificado, com base na fonte e no tamanho de fonte selecionados
Sintaxe
Delphi
Function TPDFlib.GetTextWidth(Const Text: WideString): Double;
ActiveX
Function PDFlib::GetTextWidth(Text As String) As Double
DLL
double DLGetTextWidth(int InstanceID, const wchar_t * Text);
Parâmetros
| Text | O texto para o qual determinar a largura |
|---|
Valores retornados
| A largura do texto informado |