BaseDocument.ConvertToDocument Method (DocumentType, ImageCompress, Stream)
Click or drag to resize
BaseDocumentConvertToDocument Method (DocumentType, ImageCompress, Stream)
Converts document to the target file format and saves it to stream. Throw an exception in condition: 1: the target document type has not been developed yet. 2: the required assembly has not been added.

Namespace: RasterEdge.Imaging.Basic
Assembly: RasterEdge.Imaging.Basic (in RasterEdge.Imaging.Basic.dll) Version: 9.8.7.60526 (9.8.7.60526)
Syntax
public abstract void ConvertToDocument(
	DocumentType targetType,
	ImageCompress compression,
	Stream desStream
)

Parameters

targetType
Type: RasterEdge.Imaging.BasicDocumentType
The target document type.
compression
Type: RasterEdge.Imaging.BasicImageCompress
The compression of the dest file. Used for tiff compression.
desStream
Type: System.IOStream
Stream of the output file.
See Also