About this reference
Three hundred and eleven CorelDRAW COM interfaces, one page each, written for people who drive CorelDRAW from Python rather than from VBA.
What this is
CorelDRAW exposes its object model through COM. The official documentation is written for C++
and VBA: it lists the methods on each interface, but it does not tell you which call returns
which object, which property is read-only until a document is open, or why
ExportBitmap works on one shape and silently writes a blank file on another.
This site is the reference we wanted while writing automation for prepress work. Every entry gives the signature, what the call returns, the notes that actually matter, and a short snippet you can paste into a Python session and run.
Where the content comes from
Nothing here is copied from the official SDK help file. Each entry was written from working
code — objects enumerated with dir(), return values inspected, errors triggered on
purpose and recorded. The failure modes page is a list of twelve
problems that broke real jobs, each with the reason it broke.
What has been tested, and what has not
Signatures and examples were tested against CorelDRAW 2019 (V21) on 64-bit Windows, with Python 3 and pywin32. Three honest caveats:
- CorelDRAW 2020 and later are largely compatible, but not every entry has been re-checked on them. Where a version behaves differently, the entry says so.
- Properties that only exist in certain editions or workspaces are flagged in the notes rather than assumed.
- There is no COM on macOS. The Mac build of CorelDRAW has no scripting interface, so none of this applies there.
Who runs it
NineDeep Studio, an independent design and prepress studio. We automate the repetitive parts of production — imposition, variable data, batch export — and wrote this down because the same problems kept coming back under different names.
Independence
This is an independent reference. It is not affiliated with, endorsed by, or sponsored by Alludo (formerly Corel Corporation). CorelDRAW is a trademark of Alludo. No official documentation, help file, or SDK content is reproduced here; the name is used only to describe what the software does.
Corrections
If something here is wrong, out of date, or missing, tell us — the contact details are here. Reports from people who hit the problem in production are the main reason this page stays accurate.