LEADTOOLS Support
General
General Questions
Unable to print multipage tiff file in C++
#1
Posted
:
Thursday, March 30, 2017 5:25:06 AM(UTC)
Groups: Registered
Posts: 5
I'm using this `ILEADRasterDlgFile_U` to print my tiff file
ILEADRasterDlgFile_U *lRasterFileDlg = theApp.GetRasterFileDlg();
lRasterFileDlg->PutBitmap(GetDocLead()->GetBitmap());
lRasterFileDlg->ShowPrintPrievewDlg((long)m_hWnd);
This is code snippet inside my `OnFileprintPreview()`
I have a multipage tiff file but using this shows only the selected page of the tiff file in the print preview, is there some way in `ILEADRasterDlgFile_U` by which i can print the multipage tiff file
#2
Posted
:
Friday, March 31, 2017 4:31:31 PM(UTC)
Groups: Registered, Tech Support, Administrators
Posts: 71
Was thanked: 4 time(s) in 3 post(s)
Hi,
Unfortunately, the ShowPrintPreviewDlg method of the ILEADRasterDlgFile does not contain a way to display multipage files. The ILEADRasterDlgFile was built to only support single image printing:
https://www.leadtools.co...rintpreviewdlgmethod.htmAnother option that you could use would be the ShowPrintStitchedImagesDlg which would stitch each image together if you just wish to view them, but they would be displayed as a stitched image:
https://www.leadtools.co...tchedimagesdlgmethod.htmOtherwise, the only other option would be to actually implement your own dialog to show each page as you want in your application.
Aaron Brasington
Developer Support Engineer
LEAD Technologies, Inc.
LEADTOOLS Support
General
General Questions
Unable to print multipage tiff file in C++
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.