4D v16WP EXPORT DOCUMENT |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v16
WP EXPORT DOCUMENT
WP EXPORT DOCUMENT
The WP EXPORT DOCUMENT command exports the wpDoc 4D Write Pro object to a document on disk according to the filePath parameter as well as any optional parameters. In wpDoc, pass the 4D Write Pro object that you want to export. In filePath, pass the destination path and the name of the document to be exported. If you pass only the document name, it will be saved at the same level as the 4D structure file. By default, if you omit the format parameter, the command uses the document extension to select the file format. You can also pass a constant from the 4D Write Pro Constants theme in the format parameter. In this case, 4D adds the appropriate extension to the file name if needed. The following formats are supported:
Notes:
In the options parameter, you pass options that will configure the export. You can pass a longint value to define the style of the HTML code. The following constants are available:
You want to export the contents of the myArea 4D Write Pro object to a document in your database folder. You can set the debug option using a 'pprint' button: C_TEXT($filePath) You want to export the contents of the myArea 4D Write Pro object in .4wp format: C_TEXT($path)
See also
|
PROPERTIES
Product: 4D HISTORY
Created: 4D v14 R5 ARTICLE USAGE
4D Write Pro Reference ( 4D v16) |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||