Object: Document <Data>

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 Document <Data> object provides the properties and methods for accessing the meta properties of a document. A document might be an Office file in XML format or a PDF, JPEG, PNG, or TIFF file. Use the OpenDocument command to open a document.

The following example displays the names and values of the meta properties for a PDF document:

Dim oMyDocument, oMyProperty, sOut
Set oMyDocument = OpenDocument(ProgramDrv & "Manuals\DIAdem_GettingStarted.pdf", False, eDocumentTypeAuto)
For each oMyProperty in oMyDocument.Properties
  sOut = sOut & "Name: " & oMyProperty.Name & ", Value: " & oMyProperty.Value  & VBCrLf
Next
Call MsgBox(sOut)

Methods

Save

WAS THIS ARTICLE HELPFUL?

Not Helpful