Previous Document Next Document

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


StructSaveAsOptions.Range

Property Range As cdrExportRange

Description

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.

VBA example

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

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.