User`s guide
12 Classes – Alphabetical List
12-72
Full path of output file or folder for this document. If you do not specify a file extension,
the extension is based on the document type (for example, .docx for Microsoft Word).
When the document is open, you cannot set this property.
What you specify for the path depends on the value of the PackageType property.
• zipped— name of zip file
• unzipped— folder for the output files
• both— name of zip file
Data Types: char
type — Type of output
'html' (default) | 'docx' | 'html-file'
Type of output, specified as 'html', 'docx' or 'html-file'.
• 'html'— HTML output as a zipped or unzipped folder containing the HTML
document text, image, style sheet, and JavaScript
®
files
• 'docx'— Word output
• 'html-file'— HTML output consisting of a single file that contains the text, style
sheets, JavaScript, and images for the report
If you specify a template using the templatePath input argument, the template must be
consistent with the type argument. You must specify a Word template (.dotx) for Word
output, an HTML template package (.htmtx) for HTML output, and a single-file HTML
template (.html) for html-file output.
To generate a PDF report, create a Word report and use the rptview function with the
'pdf' argument to convert the Word report to PDF.
templatePath — The path of the document template
[] | string
If you do not want to use the default HTML or Word template, specify a template.
Full path of output file or folder for the template. If you do not specify a file extension,
the extension is based on the document type (for example, .docx for Word). Before
setting this property, close the document.
Data Types: char