Object Model Reference : Classes : S : StructSaveAsOptions : Properties : StructSaveAsOptions.Version |
Property Version As cdrFileVersion
Member of StructSaveAsOptions
The Version property returns or specifies the CorelDRAW file-format version when saving a document. You can save the file in the format for CorelDRAW 5 or later.
This property returns a value of cdrFileVersion.
The following VBA 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 |
Copyright 2013 Corel Corporation. All rights reserved.