THPDFViewerModel Metafile Métodos

Crea metafiles mejorados escalables para páginas PDF cargadas sin construir un control Viewer

Declaraciones

function CreatePageMetafile(PageIndex: Integer; DPI: Integer= 150): TMetafile;
function CreateCurrentPageMetafile(DPI: Integer= 150): TMetafile;

Notas de uso

Ejemplo

Metafile := Viewer.Model.CreateCurrentPageMetafile(300);
try
  Metafile.SaveToFile('current-view.emf');
finally
  Metafile.Free;
end;