LEADTOOLS Support
Imaging
Imaging SDK Questions
Different L_SetDisplayMode for viewing images and printing
This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Monday, November 22, 2010 4:01:17 AM(UTC)
Groups: Registered
Posts: 1
I had some printing problem, tiff documents were printed corruped - I've managed to solve this by using the command L_SetDisplayMode(DISPLAYMODE_HALFTONEPRINT, DISPLAYMODE_HALFTONEPRINT) and now priting are fine, but now viewing this tiff documents are in low quality so I decided to change back the L_SetDisplayMode to DISPLAYMODE_SCALETOGRAY but it's not changing vice versa once you set a mode its stuck as long as you run your application.
Any ideas how it can be solved ? Thanks.
I'm using ver. 14.5 on Delphi 6 developing WebActiveX Viewer.
#2
Posted
:
Monday, November 22, 2010 5:52:52 AM(UTC)
Groups: Guests
Posts: 3,022
Was thanked: 2 time(s) in 2 post(s)
To turn off a display mode, you must specify it in the flag position (first parameter) but not in the second parameter. This means if you only want to turn off halftone printing, you must call the function like this:
L_SetDisplayMode(DISPLAYMODE_HALFTONEPRINT, 0)
LEADTOOLS Support
Imaging
Imaging SDK Questions
Different L_SetDisplayMode for viewing images and printing
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.