THPDFViewerModel Metafile Methods

Questa pagina descrive le API pubbliche THPDFViewer e THPDFViewerModel per visualizzare, esplorare, renderizzare e stampare documenti PDF

Dichiarazione

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

Note sull'utilizzo

Esempio

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