|
|
|
|
|
DocToPDF (Function) In french: DocVersPDF Converts a Word Processing document into a PDF file.
d is Document = "text.docx"
IF DocToPDF(d, fExeDir() + [fSep] + "MyDoc.pdf") THEN
Info("Document converted to PDF")
END
DocToPDF(WP_MyDoc, fExeDir() + [fSep] + "wp.pdf")
Syntax
<Result> = DocToPDF(<Document to convert> , <Name of PDF file>)
<Result>: Boolean - True if the PDF file was created.
- False otherwise. To get more details on the error, use ErrorInfo.
<Document to convert>: Document or String variable Document to use. This document can correspond to: - a variable of type Document.
a Word Processing control.
<Name of PDF file>: Character string Name and full path of the PDF file to be created. The file is replaced with the new file if it already exists. Remarks New in version 2025Links included in the document are preserved in the resulting PDF file. - OpenType (.otf) fonts are not supported by the PDF generation.
- Watermarks are not supported by the PDF generation.
Component: wd300wdpdf.dll
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|