You are not logged in.
I'm trying to draw metafiles with "PlayEnhMetaFile" on SynPDF's VCLCanvas and somehow the images in my metafile are not drawn if they are vertically below the displays Y resolution. For example, the A4 page has at 96 DPI a height of 1124, the display has a height of 768 or 800 pixels, the metafile should be drawn at 770 in a height of 120, the images are missing from the result. Textst are drawn but "EMR_STRETCHDIBITS" won't be called in the GDI Enum.
On Printer Canvas no problems, on bigger display with bigger resolution the same code is working.
Any help/hint would be greatly appreciated.
Regards
Offline
did you draw with
with TGDIPages.create(self) do
begin
..
ForceScreenResolution := true;
..
end;
?
Offline
No.
I don't know what TGDIPages nor ForceScreenResolution is.
SynPDF.pas
Offline
Looks like a windows bug?
https://stackoverflow.com/questions/303 … dimensions
Offline