Click or drag to resize
BaseDocumentConvertToDocument Method (DocumentType, ImageCompress, String)
Converts document to the target file format and saves it to a file on the local disk. 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,
	string filePath
)

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.
filePath
Type: SystemString
File path of the output file.
See Also