PdfViewerControl.CreateTiff(String, Int32, IEnumerable<Int32>) Method
SECURITY-RELATED CONSIDERATIONS
Using file paths sourced from untrusted input may expose unauthorized files or allow unintended file access. Always validate and normalize all external paths to prevent path manipulation.
Exports a PDF document to a TIFF image using the document’s file path, the image’s largest edge length and page numbers.
Namespace: DevExpress.Xpf.PdfViewer
Assembly: DevExpress.Xpf.PdfViewer.v25.2.dll
NuGet Package: DevExpress.Wpf.PdfViewer
Declaration
public void CreateTiff(
string fileName,
int largestEdgeLength,
IEnumerable<int> pageNumbers
)
Parameters
| Name | Type | Description |
|---|---|---|
| fileName | String | A String which specifies the file name (including the full path) for the PDF document. |
| largestEdgeLength | Int32 | An integer value, specifying the length of the image’s largest dimension. |
| pageNumbers | IEnumerable<Int32> | A list of page numbers which implements the IEnumerable<T><Int32,> interface. |
See Also