GetDocumentFontDiagnostics

Fuentes

Descripción

Devuelve un resumen de fuentes a nivel de documento sin necesidad de seleccionar cada objeto de fuente y consultar sus propiedades escalares individualmente

El registro de diagnósticos informa el total de fuentes, fuentes insertadas y no insertadas, fuentes con subconjunto, fuentes Standard 14, fuentes CID, fuentes Type3 y entradas de fuentes 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 para el 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

Notas

Llame a este método después de abrir o crear el documento cuyo inventario de fuentes deba inspeccionarse