Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

PdfDocumentProcessor.CreateTiff(Stream, IEnumerable<Int32>, Single) Method

Exports PDF pages to a multi-page TIFF image with a predefined resolution and writes the image to a stream.

Namespace: DevExpress.Pdf

Assembly: DevExpress.Docs.v21.2.dll

Declaration

public void CreateTiff(
    Stream stream,
    IEnumerable<int> pageNumbers,
    float imageDpi
)

Parameters

Name Type Description
stream Stream

A stream to which a TIFF image should be written.

pageNumbers IEnumerable<Int32>

A list of page numbers.

imageDpi Single

Image DPI.

Remarks

Note

Set the RenderingEngine property to Skia to enable this method on Azure Web Apps, Linux, or Mac OS. To use the Skia rendering engine, add a reference to the DevExpress.Pdf.SkiaRenderer package or the DevExpress.Pdf.SkiaRenderer.v21.2 library reference with the SkiaSharp package (v1.68 if you use .NET Framework 4.5 and v2.80 for .NET Standard).

See Also