GetFontID

Texto, Fontes

Descrição

Retorna o ID da fonte especificada Antes de usar esta função é preciso chamar FindFonts ou FontCount

para gerar a lista de fontes disponíveis para uso no documento selecionado

Sintaxe

Delphi

Function TPDFlib.GetFontID(Index: Integer): Integer;

ActiveX

Function PDFlib::GetFontID(Index As Long) As Long

DLL

int DLGetFontID(int InstanceID, int Index);

Parâmetros

IndexO índice da fonte. A primeira fonte tem índice 1.

Valores retornados

0The index is out of bounds
Non-zeroThe ID of the specified font