#1 2025-02-07 05:17:22

sameerpandit
Member
Registered: 2018-06-19
Posts: 6

[Ignore] Drawing. Wmf containing image

Hi,

I am use Synpdf with D7.

I am drawing wmf on page canvas. However
If my WMF file contains image at bottom of
Page (approx. below. 6 inches) then it won't
Show in pdf.

I tried to trace the issue & found that the enumeration
Function skips the image.

Is this issue related to Delphi 7 ?
Is any workaround possible?

Thanks.

Last edited by sameerpandit (2025-02-07 11:29:47)

Offline

#2 2025-02-07 08:01:51

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

Re: [Ignore] Drawing. Wmf containing image

@sameerpandit Can you show code that reproduces that?

A small code sample is always recommended so everyone can try it and trace where the problem is. Otherwise it's just guessing while the problem could also just be in your code

Offline

#3 2025-02-07 08:12:42

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,865
Website

Re: [Ignore] Drawing. Wmf containing image

And please follow the forum rules and don't put the code directly in the thread, but in a gitst/download link.

Offline

#4 2025-02-07 09:02:11

sameerpandit
Member
Registered: 2018-06-19
Posts: 6

Re: [Ignore] Drawing. Wmf containing image

@rvk
I am simply using code from the thread titled
"Render metafile....... ". It's second in the sticky
List.

To confirm the issue I created a wmf file with images of
1 inch height. on A4 size page. Last image would
get skipped.

Please note I have not tried this on any other version.
Only D7.

Offline

#5 2025-02-07 10:48:29

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

Re: [Ignore] Drawing. Wmf containing image

@sameerpandit Sorry. I can't help if I can't reproduce it.
And without code and used wmf, I can't reproduce it.

Pointing to some half ready code and no wmf doesn't help with that.

Maybe @ab can be more helpful (but my guess is not without actual being able to reproduce it too).

Offline

#6 2025-02-07 11:28:20

sameerpandit
Member
Registered: 2018-06-19
Posts: 6

Re: [Ignore] Drawing. Wmf containing image

@rvk

Ok. Thanks for trying.

I google searched & found couple of threads on
Stackoverflow where people had same issue (not
with synpdf). It's related to D7.

Offline

Board footer

Powered by FluxBB