Previous Document Next Document

Understanding the CorelDRAW object model : Working with the Application object


Working with the Application object

In CorelDRAW, the Application object is the root of all other objects and is used if no other root object is specified. You can use the application’s Application object to reference the application’s object model from an out-of-process controller.

Dim cdr As CorelDRAW.Application
Set cdr = CreateObject("CorelDRAW.Application")

 
If desired, you can avoid using the CreateObject keyword in the preceding example by importing the target type library and using the data types directly.

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.