Navigation:  OLE Automation > Application > Methods >

SpaceObServer.Application.PDFExport

Previous pageReturn to chapter overviewNext page

Description

Exports the file system branch of the currently selected directory in PDF file format.
 

Syntax

PDFExport (ExportPath : <String>, ExportFullBranch : <Boolean>, IncludeHeader : <Boolean>, IncludeUnit : <Boolean>)
 

Parameters

ExportPath

The full path of the export file (including the exported file name).
You can use environment variables as well as "%DATE%" and "%TIME%" in the file path.

ExportFullBranch

Indicates, if the export will include the full directory branch or only expanded directories.

IncludeHeader

Indicates, if a header with general information about the root directory/drive will be included.

IncludeUnit

Indicates, if size units and thousand separator will be included in the export, or if sizes are exported as plain numbers.

 
Example

SOS.PDFExport "C:\Temp\SOS\export.pdf", True, True, True

Produces a report in a PDF file named "export.pdf" in the folder "C:\Reports\SOS\" that includes a header, size units and contains all sub directories.