Previous Document Next Document

Object Model Reference : Classes : S : StructSaveAsOptions : Properties : StructSaveAsOptions.Version


StructSaveAsOptions.Version

Property Version As cdrFileVersion

Description

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.

VBA example

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

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.