Previous Document Next Document

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


CorelScript.FileSave

Function FileSave(FileName As String, ThumbnailSize As Long, SaveSelectedOnly As Boolean, FileVersion As Long, IncludeCMXData As Boolean) As Long

Description

Member of CorelScript

The FileSave method saves the active document.

Parameter
Description
FileName
Specifies the name of the file to save
ThumbnailSize
Specifies the size of the thumbnail:
 
0 = none
 
1 = 1k (mono)
 
5 = 5k (color)
 
10 = 10k (color)
SaveSelectedOnly
Specifies whether to save selected items only. True (-1) enables this option, while False (0) saves the entire document.
FileVersion
Specifies the file version of the document being saved:
 
0 = version 9.0
 
1 = version 5.0
 
2 = version 6.0
 
3 = version 7.0
 
4 = version 8.0
IncludeCMXData
Specifies whether to include CMX data with the saved file. True (-1) enables this option, while False (0) disables it.

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.