Object Model Reference : Classes : C : CorelScript : Methods : CorelScript.FileNew |
Function FileNew() As Long
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.
|
Copyright 2013 Corel Corporation. All rights reserved.