#1 PDF Engine » Included EMF image gets wrong » 2013-09-03 13:59:34

martin.roller
Replies: 1

Hello,

I used synopse for creating pdf from QuickReport metafile with included EMF image by following code:

oPdf := TPdfDocumentGDI.Create;
...
aMeta := QRPrinter.PageList.GetPage(i);
oPdf.AddPage;
oPdf.VCLCanvas.Draw(0, 0, aMeta);
...
oPdf.SaveToFile(PdfSoubor);
oPdf.free;

There is a problem that the included EMF image gets wrong in the final pdf file.

Source EMF file: http://www.hjsoft.cz/temp/Tisk1.emf
Result PDF file: http://www.hjsoft.cz/temp/Tisk1.pdf

Do you have any idea what is wrong?

Thanks.

Best Regards.

Martin Roller

Board footer

Powered by FluxBB