Hi I've developed a document management system which requires the conversion of received emails with PDF attachments to Tiff format. The system will eventually run as a service program on a 64 bit machine operating on Server 2012 (It has been developed using Visual Studio 2012) I have successfully managed to construct a processor to extract and convert the pdfs to tiff's however I'm losing some of the image due to 'format' issues. I have searched everywhere I can think of for the parameter to 'fit' the image to the paper size (A4). I'm assuming it's a 'FormatParameter' , but can't find any further information. Any assistance anyone can provide will be greatly appreciated.
Note : I'm using Raster-XChange.
example code snippet:-
Public m_PrinterFactory As New RXCCOMLib.PrinterFactory
Public WithEvents m_Printer As RXCCOMLib.Printer
Public m_DevMode As RXCCOMLib.IDevMode
Public m_PageNum As Integer
Private Const DMORIENT_PORTRAIT As Integer = 1
Private Const DMORIENT_LANDSCAPE As Integer = 2
m_DevMode = m_Printer.DevMode
m_DevMode.Format = RXCCOMLib.ImageFormat.format_TIFF
m_DevMode.OutputFileName = strTiffFile
m_DevMode.FormatParameter("Image Type") = "BW:1"
m_DevMode.FormatParameter("Compression") = "CCITTFax4"
m_DevMode.PostPrintApplication = ""
m_DevMode.Set()
Tiff image format
Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Sean - Tracker, Chris - Tracker Supp, Tracker Supp-Stefan, Ivan - Tracker Software
- Tracker Supp-Stefan
- Site Admin
- Posts: 13651
- Joined: Mon Jan 12, 2009 8:07 am
- Location: London
- Contact:
Re: Tiff image format
Hello Woollies66,
Can you please send us a sample PDF and the resulting tiff?
Regards,
Stefan
Can you please send us a sample PDF and the resulting tiff?
Regards,
Stefan