



Collapse All
Syntax| HRESULT PDFPAGE_PlayMetaFileEx ( LONG metafileHandle, DOUBLE x, DOUBLE y, DOUBLE scaleX, DOUBLE scaleY ) |
RemarksThis method paints the context of the metafile (provided by the handle) on the page at specified coordinates (x, y) with scaling (scaleX, scaleY).
Equivalent in new interface: IPDFDocument4::PlayMetaFileFromHandle.
Example{ PDF object is supposed to be created }
PDF.BeginDoc;
HENHMETAFILE hMetafile := GetEnhMetaFile('page.emf');
PDF.PDFPAGE_PlayMetaFileEx(hMetafile, 10, 10, 0.5, 0.5);
PDF.EndDoc;
// PDF object is supposed to be created
PDF->BeginDoc();
HENHMETAFILE hMetafile = GetEnhMetaFile("page.emf");
PDF->PDFPAGE_PlayMetaFileEx((LONG)hMetafile, 10, 10, 0.5, 0.5);
PDF->EndDoc();
// PDF object is supposed to be created
PDF.BeginDoc();
HENHMETAFILE hMetafile = GetEnhMetaFile("page.emf");
PDF.PDFPAGE_PlayMetaFileEx(hMetafile, 10, 10, 0.5, 0.5);
PDF.EndDoc();
' PDF object is supposed to be created
PDF.BeginDoc
HENHMETAFILE hMetafile = GetEnhMetaFile("page.emf")
PDF.PDFPAGE_PlayMetaFileEx hMetafile, 10, 10, 0.5, 0.5
PDF.EndDoc
See Also