Object Model Reference : Classes : S : StructSaveAsOptions : Properties : StructSaveAsOptions.EmbedICCProfile |
Property EmbedICCProfile As Boolean
Member of StructSaveAsOptions
The EmbedICCProfile property returns or specifies whether an International Color Consortium (ICC) profile is embedded when saving a document.
The following VBA example saves the active document to a file. The macro 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 |
Copyright 2013 Corel Corporation. All rights reserved.