doc.Metadata
The metadata collection, finer-grained than Properties and it takes custom fields. For workflows where the file carries its own parameters.
Signature
doc.Metadata
Notes
The metadata collection, finer-grained than Properties and it takes custom fields. For workflows where the file carries its own parameters.
Python example (runnable)
Requires
pywin32. The example assumes app / doc / page / layer are already connected.
See Connection & InitPython
meta = doc.Metadata
try:
n = meta.Count
print("Metadata entries: ", n)
for i in range(1, n + 1):
item = meta.Item(i)
print("Name: ", item.Name, " value: ", item.Value)
except Exception as e:
print("Reading metadata failed: ", e)
About this section: Object Data
Object Data — object data and document properties.
- This section has 6 entries; this is one of them.
- See the full section index: Object Data
Other entries in this section
- shape.NameThe object name shown in the Object Manager. Read/write — name things
- shape.StaticIDA unique ID within the file, read-only, and stable across reopening. T
- shape.URLA hyperlink attached to the object, carried out on PDF export. Interac
- shape.PowerClipParent / shape.Layer / shape.PageWalks back up: which frame clips this object, which layer, which page.
- doc.PropertiesFile properties (title, author, keywords, notes). Fill them in consist