Previous Document Next Document

Understanding the CorelDRAW object model : Working with documents : Opening documents


Opening documents

To open a document, you can use the Application.OpenDocument method.

Dim doc As Document
Set doc = OpenDocument("C:\graphic1.cdr")

If you want, you can use event handlers to respond to events that are triggered by opening a document:

 
Application.DocumentOpen
 
Document.Open
 
GlobalMacroStorage.DocumentOpen

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.