Previous Document Next Document
StructSaveAsOptions.Version

Property Version As cdrFileVersion

Member of StructSaveAsOptions

The Version property returns or sets the CDR file version when saving a document. It is possible to save the document in previous versions of CorelDRAW. You can save the file in the format for CorelDRAW 5 or later.

This property returns a value of cdrFileVersion.

The following code example saves the active document as a CorelDRAW 7 document:

Sub Test() 
 Dim so As New StructSaveAsOptions 
 so.Version = cdrVersion7 
 ActiveDocument.SaveAs "C:\Temp\File7.cdr", so 
End Sub 

Previous Document Next Document Back to Top

Copyright 2007 Corel Corporation. All rights reserved.