Click or drag to resize
DOCDocumentConvertToDocument Method (DocumentType, 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.MSWordDocx
Assembly: RasterEdge.Imaging.MSWordDocx (in RasterEdge.Imaging.MSWordDocx.dll) Version: 9.8.0.50811 (9.8.0.50811)
Syntax
public override void ConvertToDocument(
	DocumentType targetType,
	string filePath
)

Parameters

targetType
Type: RasterEdge.Imaging.BasicDocumentType
The target document type.
filePath
Type: SystemString
File path of the output file.
See Also