DIAdem Help

Property: Count for DocumentProperties <DataPlugin>

  • Updated2024-09-12
  • 1 minute(s) read

Property: Count for DocumentProperties <DataPlugin>

Returns the number of meta properties of a document. A document might be an Office file in XML format or a PDF, JPEG, PNG, or TIFF file.

Object.Count
ObjectDocumentProperties <DataPlugin>
Object with this property
Object.CountLongInteger with read access

The following example transfers the names and values of a document's meta properties into the data set properties:

Dim oMyProperties, i
Set oMyProperties = Document.Properties
For i = 1 to oMyProperties.Count 
  Call Root.Properties.Add(oMyProperties(i).Name, oMyProperties(i).Value)
Next