Previous Document Next Document

Object Model Reference : Classes : C : CorelScript : Methods : CorelScript.FileNew


CorelScript.FileNew

Function FileNew() As Long

Description

Member of CorelScript

The FileNew method creates a drawing, returning one of the following values:

•
 
True (-1) — The drawing was created.
•
 
False (0) — The drawing was not created.

•
 
You cannot change the active document in a script except by using the FileNew or CorelScript.FileOpen method.
•
 
Changing the active document with keyboard and mouse actions does not affect an executing script.

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.