I am loading a Multipage TIFF file in GDViewwer Pro, and rotate one of its page, and when i am trying to save thru
- Code: Select all
Call Imaging1.SaveAsTIFF(CurrentLoadedFile, CompressionCCITT4)
it saves only a page (without rotation) of a file rather than all pages along with rotated one.
Following is my code snippet:
Loading for TIFF
- Code: Select all
Call Imaging1.CreateImageFromFile(PDFFile) ' SHOWING NON-PDF FILE
'Call Imaging1.TiffCreateMultiPageFromFile(PDFFile)
CurrentLoadedFile = PDFFile
GdViewer1.SetNativeImage (Imaging1.GetNativeImage)
Call LoadThumbnail(PDFFile) 'CREATING THUMBNAIL
GdViewer1.Refresh
showStatus ("File Loaded" & Space(25) & GdViewer1.PageCount & " Pages")
Rotation:
- Code: Select all
DoEvents
'IF FILE IS TIFF
CurrentLoadedFile = App.Path & "\Tmpfiles\Temp.tif"
Call Imaging1.SaveAsTIFF(CurrentLoadedFile, CompressionCCITT4)

