Click or drag to resize

PdfDocumentToTiffImages Method (String, IEnumerableInt32, NullableInt32, NullableInt32)

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: 4.4.9.15720 (4.4.9.0)
Syntax
public string[] ToTiffImages(
	string FileNamePattern,
	IEnumerable<int> PageNumbers,
	Nullable<int> ImageMaxWidth,
	Nullable<int> ImageMaxHeight
)

Parameters

FileNamePattern
Type: SystemString
A full or partial file path for the output files containing an asterisk. E.g. C:\images\pdf_pages_*.tiff
PageNumbers
Type: System.Collections.GenericIEnumerableInt32
A list of the specific page numbers to render as images.
ImageMaxWidth
Type: SystemNullableInt32
The target maximum width of the output images.
ImageMaxHeight
Type: SystemNullableInt32
The target maximum height of the output images.

Return Value

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