Previous Document Next Document

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


StructSaveAsOptions.Filter

Property Filter As cdrFilter

Description

Member of StructSaveAsOptions

The Filter property returns or specifies the format used when saving a document.

 
For saving documents in formats other than CDR or CMX, use the Document.ExportEx or Document.ExportBitmap methods.

The Filter property returns a value of cdrFilter.

VBA example

The following VBA example saves the current document as a CMX file with a 5K-color thumbnail.

Sub Test()
 Dim so As New StructSaveAsOptions
 so.Filter = cdrCMX6
 so.ThumbnailSize = cdr5KColorThumbnail
 ActiveDocument.SaveAs "C:\Temp\File.cmx", so
End Sub

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.