Previous Document Next Document

Object Model Reference : Classes : P : PDFVBASettings : Properties : PDFVBASettings.ColorMode


PDFVBASettings.ColorMode

Property ColorMode As pdfColorMode

Description

Member of PDFVBASettings

The ColorMode property sets the color mode for the objects in a PDF document.

The following ccode 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

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.