API Documentation > CorelDRAW > 2025-v26 > globalmacrostorage
globalmacrostorage.DocumentOpen event
Invoked when a document is opened
Syntax:
Event DocumentOpen(ByVal Doc As Document, ByVal FileName As String)
Parameters:
Name Type Description
Doc
FileName
String