API Documentation > CorelDRAW > 2025-v26 > PDFVBASettings > IPDFVBASettings
PDFVBASettings.UseColorProfile property
Specifies whether color correction should be applied on output
Syntax:
Property Get UseColorProfile() As Boolean
Property Let UseColorProfile(ByVal Value As Boolean)
Remarks:
The UseColorProfile property determines whether a color profile is used when publishing to PDF. You can use the PDFVBASettings.ColorProfile property to specify the color profile.
Examples:
The following code example publishes the active document to PDF. All objects are exported 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