Object Model Reference : Classes : S : StructSaveAsOptions : Properties : StructSaveAsOptions.Range |
Property Range As cdrExportRange
Member of StructSaveAsOptions
The Range property returns or specifies 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 VBA 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 |
Copyright 2013 Corel Corporation. All rights reserved.