Click or drag to resize

ConvertWordToPDFConversion Method (IFilter, WordToPDFOptions)

Create a DocumentConversion object suitable for converting a Word document (in .docx format) to pdf and appending to the specified PDF document. This conversion will be performed entirely within PDFNet, and does not rely on Word interop or any other external functionality.

This method allows for more control over the conversion process than the single call WordToPDF() interface. This method does not perform any conversion logic and can be expected to return quickly. To do the actual conversion, use the returned DocumentConversion object (see PDF.DocumentConversion)

Font requirements: on some systems you may need to specify extra font resources to aid in conversion. Please see http://www.pdftron.com/kb_fonts_and_builtin_office_conversion

Namespace:  pdftron.PDF
Assembly:  pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax
public static DocumentConversion WordToPDFConversion(
	IFilter in_stream,
	WordToPDFOptions options
)

Parameters

in_stream
Type: pdftron.FiltersIFilter
the source stream filter.
options
Type: pdftron.PDFWordToPDFOptions
the conversion options

Return Value

Type: DocumentConversion
A DocumentConversion object which encapsulates this particular conversion
Remarks
see WordToPdfConversion() if you would like more control over the conversion process
See Also