Object Model Reference : Classes : P : PDFVBASettings : Properties : PDFVBASettings.UseColorProfile |
Property UseColorProfile As Boolean
Member of PDFVBASettings
The UseColorProfile property determines whether to use a color profile when publishing a document to PDF.
• |
You can use the ColorProfile property to specify the color profile.
|
The following VBA example publishes the active document to PDF. All objects are exported by using the RGB color model, and the color profile of the composite printer is applied.
Sub Test() |
With ActiveDocument.PDFSettings |
.ColorMode = pdfRGB |
.UseColorProfile = True |
.ColorProfile = pdfCompositeProfile |
End With |
ActiveDocument.PublishToPDF "C:\MyDocument.pdf" |
End Sub |
Copyright 2013 Corel Corporation. All rights reserved.