Click or drag to resize
DOCDocumentConvertToDocument Method (DocumentType, Stream)
Converts document to the target file format and saves it into a 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.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,
	Stream stream
)

Parameters

targetType
Type: RasterEdge.Imaging.BasicDocumentType
The target document type.
stream
Type: System.IOStream
The destination stream.
See Also