#1 2024-09-10 10:07:46

pjain
Member
Registered: 2024-07-02
Posts: 6

Graphics are distorted when DrawMeta function is used in GDIPages

Hi,
   I am using GDIPages to print out a report  with graphics on each page. My data source is a list of meta file.
   When I am trying to use whole page space on either A3/A4 pages, my image is loosing colours . basically it looks like the text is there but the colours are gone.
   I have a doubt that if its an issue because of the graphic is stretched or something else. I am just using below code to draw the meta file in a specific rectangle.

   

      LPdfGDI.DrawMeta(R, TMetafile(AMetafilesList[i])); 
  

Thanks.

Offline

#2 2024-09-13 12:14:04

rvk
Member
Registered: 2022-04-14
Posts: 113

Re: Graphics are distorted when DrawMeta function is used in GDIPages

I don't think we can help without a more complete reproduceable example.
(including the metafiles if not generated by the example)

Offline

Board footer

Powered by FluxBB