shape.URL
A hyperlink attached to the object, carried out on PDF export. Interactive brochures and quotes where the client clicks an image to reach a page.
Signature
shape.URL
Notes
A hyperlink attached to the object, carried out on PDF export. Interactive brochures and quotes where the client clicks an image to reach a page.
Python example (runnable)
Requires
pywin32. The example assumes app / doc / page / layer are already connected.
See Connection & InitPython
shape = app.ActiveSelectionRange(1)
print("Old link: ", shape.URL)
shape.URL = "https://ninedeep.xyz" # attach the link
print("New link: ", shape.URL)
shape.URL = "" # clear the link
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.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
- doc.MetadataThe metadata collection, finer-grained than Properties and it takes cu