Method SaveAsTiff
- Namespace
- BitMiracle.Docotic.Pdf
- Assembly
- BitMiracle.Docotic.Pdf.dll
SaveAsTiff(string, PdfDrawOptions)
Creates images of each page in the document, then creates a multipage TIFF from the images and saves the TIFF to the file with specified name.
public void SaveAsTiff(string fileName, PdfDrawOptions options)
Parameters
fileName
stringName of the file to save the multipage TIFF to.
options
PdfDrawOptionsThe options to use while creating images of the document pages.
Remarks
The method ignores the value of the Format
property specified in the options
. The Tiff format is always used.
Values of TileWidth and TileHeight properties are also ignored.
Check the Convert PDF to image in C# and VB.NET article to see how to save documents as TIFF images.
SaveAsTiff(Stream, PdfDrawOptions)
Creates images of each page in the document, then creates a multipage TIFF from the images and saves the TIFF to the specified stream.
public void SaveAsTiff(Stream stream, PdfDrawOptions options)
Parameters
stream
StreamThe stream to save the multipage TIFF to.
options
PdfDrawOptionsThe options to use while creating images of the document pages.
Remarks
The method ignores the value of the Format
property specified in the options
. The Tiff format is always used.
Values of TileWidth and TileHeight properties are also ignored.
Check the Convert PDF to image in C# and VB.NET article to see how to save documents as TIFF images.