Full API documentation?

Perhaps I just am horrible at searching, but I can't seem to find any docs on the full CorelDraw API. For example, if I record a macro to export an AI file, I see calls to ActiveDocument and ExportFilter:

Dim expflt As ExportFilter

Set expflt = ActiveDocument.ExportEx("ExportTest001.ai", cdrAI, cdrAllPages, expopt)

Yes, I can not find one entry in the API docs linked from this area:

https://community.coreldraw.com/sdk/api/draw/23.5

I can't find ANY info at all about an object named ActiveDocument and the info provided for ExportFilter is woefully incomplete:

https://community.coreldraw.com/sdk/api/draw/23.5/c/exportfilter

I see nothing that documents all the various properties that the macro recorder seems to know about:

With expflt
.Version = 10 ' FilterAILib.aiVersionCS6
.TextAsCurves = False
.PreserveTransparency = True
.ConvertSpotColors = False
.SimulateOutlines = False
.SimulateFills = False
.IncludePlacedImages = True
.IncludePreview = True
.EmbedColorProfile = True
.Finish
End With

Am I missing something? Or is this really all there is?

J^2

Parents
No Data
Reply
  • It often feels like the scripting capabilities are like a nice bonus on top of CorelDRAW. Amazing capabilities once you learn them a bit, but oftentimes lacking documentation. But in this case it's basically what you see is what you get - recording a macro of an export action pretty much shows you all the options you could have since they basically mirror the settings in the export window. If nothing else you can record while exporting something and changing settings and figure it out.
    Also, not quite for this topic, but in general, in addition to the docs and discussions here, https://forum.oberonplace.com/index.php is a really useful resource.

Children
No Data