API Documentation > CorelDRAW > 2025-v26 > globalmacrostorage
globalmacrostorage.DocumentBeforeSave event
Invoked before a document is saved
Syntax:
Event DocumentBeforeSave(ByVal Doc As Document, ByVal SaveAs As Boolean, ByVal FileName As String)
Parameters:
Name Type Description
Doc
SaveAs
Boolean
FileName
String