PdfDocumentToTiffImages Method (String, IEnumerableInt32, NullableInt32, NullableInt32, Int32)

Renders the pages of the PDF as TIFF (Tagged Image File Format / Tif) files and saves them to disk.

Specific image dimensions and page numbers may be given as optional parameters

FileNamePattern should normally contain an asterisk (*) character which will be substituted for the page numbers

Namespace:  IronPdf
Assembly:  IronPdf (in IronPdf.dll) Version: 2020.10.3
public string[] ToTiffImages(
	string FileNamePattern,
	IEnumerable<int> PageNumbers,
	Nullable<int> ImageMaxWidth,
	Nullable<int> ImageMaxHeight,
	int DPI = 72


Type: SystemString
A full or partial file path for the output files containing an asterisk. E.g. C:\images\pdf_pages_*.tiff
Type: System.Collections.GenericIEnumerableInt32
A list of the specific page numbers to render as images.
Type: SystemNullableInt32
The target maximum width of the output images.
Type: SystemNullableInt32
The target maximum height of the output images.
DPI (Optional)
Type: SystemInt32
The desired resolution of the output Images.

Return Value

Type: String
An array of the file paths of the image files created.
See Also
Install with Nuget