PdfDocument.SaveAsTiff Method (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.

Namespace:  BitMiracle.Docotic.Pdf
Assembly:  BitMiracle.Docotic.Pdf (in BitMiracle.Docotic.Pdf.dll)

Syntax

C#
public void SaveAsTiff(
	Stream stream,
	PdfDrawOptions options
)
VB
Public Sub SaveAsTiff ( 
	stream As Stream,
	options As PdfDrawOptions
)

Parameters

stream
Type: System.IO.Stream
The stream to save the multipage TIFF to.
options
Type: BitMiracle.Docotic.Pdf.PdfDrawOptions
The 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.

See Also