Home/ Reference/ Object Data

doc.Properties

File properties (title, author, keywords, notes). Fill them in consistently before delivery and the work immediately reads as more professional.

Signature

doc.Properties

Notes

File properties (title, author, keywords, notes). Fill them in consistently before delivery and the work immediately reads as more professional.

Python example (runnable)

Requires pywin32. The example assumes app / doc / page / layer are already connected. See Connection & Init
Python
props = doc.Properties

try:
    props.Title = "Product catalogue 2026"
    props.Subject = "e-commerce detail page"
    props.Author = "NineDeep"
    props.Keywords = "catalogue, e-commerce, detail page"
    props.Comments = "First draft, awaiting client approval"
    print("Property written: ", props.Title)
except Exception as e:
    print("Writing the property failed: ", e)

About this section: Object Data

Object Data — object data and document properties.

Other entries in this section