API Documentation > CorelDRAW > 2025-v26
IVGDocumentEvents interface
Syntax:
Interface IVGDocumentEvents
Methods:
Name Description
AfterExport Invoked after exporting the document
AfterPrint Invoked after printing the document
AfterSave Invoked after saving the document
BeforeExport Invoked before exporting the document
BeforePrint Invoked before printing the document
BeforeSave Invoked before saving the document
Close Invoked when the document is closed
LayerActivate Invoked when a layer is activated
LayerChange Invoked when a layer is changed
LayerCreate Invoked when a layer is created
LayerDelete Invoked when a layer is deleted
Open Invoked when the document is opened
PageActivate Invoked when a page is activated
PageChange Invoked when a page is changed
PageCreate Invoked when a page is created
PageDelete Invoked when a page is deleted
QueryClose Invoked when the user responds to a request to close the document
QueryExport Invoked when the user responds to a request to export the document
QueryPrint Invoked when the user responds to a request to print the document
QuerySave Invoked when the user responds to a request to save the document
SelectionChange Invoked when a selection is changed
ShapeChange Invoked when a shape is changed
ShapeCreate Invoked when a shape is created
ShapeDelete Invoked when a shape is deleted
ShapeDistort Invoked when a shape is distorted
ShapeMove Invoked when a shape is moved
ShapeTransform Invoked when a shape is transformed