abcpdf convert Pdf to multıPage Tıff
using WebSupergoo.ABCpdf7;
using WebSupergoo.ABCpdf7.Objects;
using WebSupergoo.ABCpdf7.Atoms;
using WebSupergoo.ABCpdf7.Operations;
public void PDF2TIFF_MultiPage(string PDFFile, string Tifffile)
{
Doc theDoc = new Doc();
theDoc.Read(txtPDFFile.Text);
// set up the rendering parameters
theDoc.Rendering.ColorSpace = "Gray";
theDoc.Rendering.BitsPerChannel = 1;
theDoc.Rendering.DotsPerInchX = 200;
theDoc.Rendering.DotsPerInchY = 200;
// loop through the pages
int n = theDoc.PageCount;
for (int i = 1; i <= n; i++)
{
theDoc.PageNumber = i;
theDoc.Rect.String = theDoc.CropBox.String;
theDoc.Rendering.SaveAppend = (i != 1);
theDoc.Rendering.SaveCompression = XRendering.Compression.G4;
theDoc.Rendering.Save(txtTiffFile.Text);
}
theDoc.Clear();
}