GetDocumentFontDiagnostics
Fuentes
Descripción
Devuelve un resumen de fuentes a nivel de documento sin necesidad de que los llamadores seleccionen cada objeto de fuente y consulten propiedades escalares individualmente
El registro de diagnósticos informa del total de fuentes, fuentes incrustadas y no incrustadas, fuentes con subsetting, fuentes Standard 14, fuentes CID, fuentes Type3 y entradas de fuente desconocidas
Sintaxis
Delphi
Function TPDFlib.GetDocumentFontDiagnostics(Out Diagnostics: TPDFlibFontDiagnostics): Integer;
Tipo
TPDFlibFontDiagnostics = Record
FontCount: Integer;
EmbeddedCount: Integer;
NotEmbeddedCount: Integer;
SubsettedCount: Integer;
Standard14Count: Integer;
CIDFontCount: Integer;
Type3Count: Integer;
UnknownCount: Integer;
End;Parámetros
Diagnostics recibe los contadores de fuentes agregados del documento actual
Valor de retorno
Devuelve el número de fuentes del documento resumidas, o un código de error negativo cuando el documento no puede inspeccionarse
Observaciones
Llame a este método después de abrir o crear el documento cuyo inventario de fuentes debe inspeccionarse