Previous Document Next Document
StructSaveAsOptions.Range

Property Range As cdrExportRange

Member of StructSaveAsOptions

The Range property returns or sets which part or parts of the document are saved.

The available options for this property are as follows: current selection, current page, and whole document.

The Range property returns a value of cdrExportRange.

The following code example saves only the selected objects:

Sub Test() 
 Dim so As New StructSaveAsOptions 
 so.Range = cdrSelection 
 ActiveDocument.SaveAs "C:\Temp\File.cdr", so 
End Sub 

Previous Document Next Document Back to Top

Copyright 2007 Corel Corporation. All rights reserved.