| 
       << Zum Inhaltsverzeichnis >> Navigation: OLE Automation > Application > Methods > SpaceObServer.Application.PDFExport | 
    
Description
Allows you to export any  SpaceObServer statistic (lists and charts) to a PDF file.
 
Syntax
PDFExport (ExportPath : <String>, ExportFullBranch : <Boolean>, IncludeHeader : <Boolean>, IncludeUnit : <Boolean>, [optional]Statistics : <String>)
 
Parameters
ExportPath  | 
The full path of the export file (including the exported file name).   | 
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 of the scantree, or if sizes are exported as plain numbers. Note: This parameter does not affect the export of any list except the scantree.  | 
Statistics  | 
(Optional Parameter) A semicolon separated list of charts and lists, which should be included in the PDF export. Note: If this parameter is not set, the directory tree will be exported (default).  | 
 
Example
$SOS.PDFExport("C:\Temp\SOS\export.pdf", $True, $True, $True, "scantree; detailslist; piechart; historychart") #PowerShell
SOS.PDFExport "C:\Temp\SOS\export.pdf", True, True, True, "scantree; detailslist; piechart; historychart" 'VBS
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. The PDF file contains the directory tree, the details list, the pie chart and the history chart of the current root.