Previous Document Next Document
StructSaveAsOptions.IncludeCMXData

Property IncludeCMXData As Boolean

Member of StructSaveAsOptions

The IncludeCMXData property returns or sets whether the saved document also includes a duplicate data stream in CMX format.

The following code example saves the active document to a file. The VBA Project is included in the file; however, an ICC color profile and a CMX data stream are not saved.

Sub Test() 
 Dim so As New StructSaveAsOptions 
 so.EmbedICCProfile = False 
 so.EmbedVBAProject = True 
 so.IncludeCMXData = False 
 ActiveDocument.SaveAs "C:\Temp\File.cdr", so 
End Sub 

Previous Document Next Document Back to Top

Copyright 2007 Corel Corporation. All rights reserved.