Previous Document Next Document

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


CorelScript.FileClose

Function FileClose(PromptUser As Boolean) As Boolean

Description

Member of CorelScript

The FileClose method closes the current drawing, returning one of the following values:

 
True (-1) — The file was closed.
 
False (0) — The file was not closed.

 
This method must be preceded by the CorelScript.FileSave method, or changes will be lost.

Parameter
Description
PromptUser
Specifies whether to prompt the user before closing the file. True (-1) prompts the user, while False (0) closes the file without prompting the user.

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.