ConvertOfficeToPDF Method (PDFDoc, IFilter, IConversionOptions) |
Convert the an office document (in .docx, .xlsx, pptx, or .doc 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 OfficeToPDF(
PDFDoc doc,
IFilter in_stream,
IConversionOptions options
)
Public Shared Sub OfficeToPDF (
doc As PDFDoc,
in_stream As IFilter,
options As IConversionOptions
)
public:
static void OfficeToPDF(
[InAttribute] PDFDoc^ doc,
[InAttribute] IFilter^ in_stream,
[InAttribute] IConversionOptions^ options
)
pdftron.PDF.Convert.OfficeToPDF = function(doc, in_stream, options);
Parameters
- doc
- Type: pdftron.PDFPDFDoc
the conversion result will be appended to this pdf - in_stream
- Type: pdftron.FiltersIFilter
the source data stream. - options
- Type: pdftron.PDFIConversionOptions
the conversion options
Remarks
see StreamingPDFConversion() if you would like more control over the conversion process
See Also