API Documentation > CorelDRAW > 2025-v26 > PDFVBASettings > IPDFVBASettings
PDFVBASettings.ColorProfile property
Specifies the color profile type for color correction
Syntax:
Property Get ColorProfile() As pdfColorProfile
Property Let ColorProfile(ByVal Value As pdfColorProfile)
Remarks:
The ColorProfile property specifies the color profile, through pdfColorProfile, when publishing to PDF. To apply a color profile, the PDFVBASettings.UseColorProfile property must be specified as True.
Examples:
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