ConvertWordToPDF Method (PDFDoc, String, WordToPDFOptions) |
Convert the a Word document (in .docx format) to pdf and append to the specified PDF document.
This conversion is performed entirely within PDFNet, and does not rely on Word interop or any other external functionality.
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 void WordToPDF(
PDFDoc doc,
string filePath,
WordToPDFOptions options
)
Public Shared Sub WordToPDF (
doc As PDFDoc,
filePath As String,
options As WordToPDFOptions
)
public:
static void WordToPDF(
[InAttribute] PDFDoc^ doc,
[InAttribute] String^ filePath,
[InAttribute] WordToPDFOptions^ options
)
pdftron.PDF.Convert.WordToPDF = function(doc, filePath, options);
Parameters
- doc
- Type: pdftron.PDFPDFDoc
the conversion result will be appended to this pdf - filePath
- Type: SystemString
the path to the source document. The source must be in .docx format. - options
- Type: pdftron.PDFWordToPDFOptions
the conversion options
Remarks
see WordToPdfConversion() if you would like more control over the conversion process
See Also