| |

VerySource

 Forgot password?
 Register
Search
View: 856|Reply: 9

GDI + 's drawimage doesn't work when printed

[Copy link]

1

Threads

6

Posts

6.00

Credits

Newbie

Rank: 1

Credits
6.00

 China

Post time: 2020-1-19 13:00:01
| Show all posts |Read mode
On paper over 5 meters, drawimage graphics cannot be printed after 3.3 meters, and the first 3 meters can be printed. But drawrectangle is fine.
Reply

Use magic Report

0

Threads

4

Posts

4.00

Credits

Newbie

Rank: 1

Credits
4.00

 China

Post time: 2020-3-20 11:00:01
| Show all posts
Don't understand, top
learning...
Reply

Use magic Report

0

Threads

5

Posts

5.00

Credits

Newbie

Rank: 1

Credits
5.00

 China

Post time: 2020-4-13 23:15:01
| Show all posts
Obviously, because it exceeds the maximum value that the 16-bit variable can represent, changing the coordinate mapping method of Graphics may solve the problem.
Reply

Use magic Report

1

Threads

6

Posts

6.00

Credits

Newbie

Rank: 1

Credits
6.00

 China

 Author| Post time: 2020-5-1 10:45:01
| Show all posts
But preview is no problem, drawRectangle can also be printed.
Reply

Use magic Report

1

Threads

6

Posts

6.00

Credits

Newbie

Rank: 1

Credits
6.00

 China

 Author| Post time: 2020-8-1 15:45:01
| Show all posts
It's no use changing it, is it a defect of mfc? Wonder why dmpaperlength is made short.
Reply

Use magic Report

1

Threads

6

Posts

6.00

Credits

Newbie

Rank: 1

Credits
6.00

 China

 Author| Post time: 2020-8-1 16:15:01
| Show all posts
No problem printing bitmap, but not metafile
Reply

Use magic Report

0

Threads

5

Posts

5.00

Credits

Newbie

Rank: 1

Credits
5.00

 China

Post time: 2020-8-2 00:45:01
| Show all posts
This should be a design issue of GDI
You can change a mapping mode, for example, use one thousandth of a meter as the unit, then print more than 30 meters of paper.
Reply

Use magic Report

1

Threads

6

Posts

6.00

Credits

Newbie

Rank: 1

Credits
6.00

 China

 Author| Post time: 2020-8-5 20:45:01
| Show all posts
I tried it, but it didn't work. The raster images are all right, but the vector image MetaFile does not work.
Reply

Use magic Report

2

Threads

18

Posts

13.00

Credits

Newbie

Rank: 1

Credits
13.00

 United States

Post time: 2020-8-6 08:30:01
| Show all posts
attention.
Reply

Use magic Report

1

Threads

6

Posts

6.00

Credits

Newbie

Rank: 1

Credits
6.00

 China

 Author| Post time: 2020-8-15 15:30:01
| Show all posts
Forget dynamic paging.
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list