Object: Property

DIAdem 2018 Help

Edition Date: June 2018
Part Number: 370858P-01
View Product Info

DOWNLOAD (Windows Only)

DIAdem 2015 Help
DIAdem 2017 Help
DIAdem 2018 Help
DIAdem 2019 Help
DIAdem 2020 Help

The Property object provides a custom property for the export of the layout in DIAdem REPORT. If you export the layout as an Office file in XML format, or as a PDF-, JPEG-, PNG- or TIFF-file, DIAdem saves these properties as meta properties in the document. Use Document <Data> to access the meta properties in exported documents.

The following example sets the custom properties of the layout and exports all worksheets into the PDF file MyFile:

Dim oMyExport, oMyProperties, oMyProperty
Set oMyExport = Report.Settings.Export
Set oMyProperties = oMyExport.Properties
If Not(oMyProperties.Exists("Company")) Then
  Set oMyProperty = oMyProperties.Add("Company")
  oMyProperty.DataType = ePropertyDataTypeString
  oMyProperty.Value = "NI"
End If
Call Report.Sheets.ExportToPDF(ScriptWritePath & "MyFile.pdf",False)

Returned From

Properties.Add | Properties.Item


Not Helpful