API Documentation > CorelDRAW > 2025-v26 > IVGApplicationEvents
IVGApplicationEvents.DocumentNew method
Invoked when a new document is created
Syntax:
Sub DocumentNew(ByVal Doc As Document, ByVal FromTemplate As Boolean, ByVal Template As String, ByVal IncludeGraphics As Boolean)
Parameters:
Name Type Description
Doc
FromTemplate
Boolean
Template
String
IncludeGraphics
Boolean