Exports a page found in a Word Processing document in image format.
MyDoc is Document <- WP_MyDocument
d is Image = DocToImage(MyDoc, 1)
dSaveImageJPEG(d, "test")
ShellExecute("test.jpg")
Syntax
<Result> = DocToImage(<Document> , <Page>)
<Result>: Image variable
Name of the Image variable that corresponds to the page in the Word Processing document.
<Document>: Document variable or control name
Document to use. This document can correspond to: - a variable of type Document.
a Word Processing control.
<Page>: Integer
Number of the page to export in image format.