API Documentation > CorelDRAW > 2025-v26 > PrintSeparations > IPrnVBAPrintSeparations
PrintSeparations.Hexachrome property
Specifies whether color separation is performed in hexachrome
Syntax:
Property Get Hexachrome() As Boolean
Property Let Hexachrome(ByVal Value As Boolean)
Remarks:
The Hexachrome property specifies a Boolean (True or False) value that indicates whether to use PANTONE Hexachrome process colors.
Examples:
The following VBA example creates two rectangles with uniform fills. It then enables separations and Hexachrome colors. The Print dialog box is then displayed.
Sub Test()
Dim s As Shape
Set s = ActiveLayer.CreateRectangle(1.239291, 7.590079, 4.050945, 4.778425, 0, 0, 0, 0)
s.Fill.UniformColor.CMYKAssign 100, 0, 0, 0
s.Outline.Type = cdrNoOutline
Set s = ActiveLayer.CreateRectangle(2.607795, 6.395748, 5.344803, 3.65874, 0, 0, 0, 0)
s.Fill.UniformColor.CMYKAssign 0, 100, 0, 0
s.Outline.Type = cdrNoOutline
With ActiveDocument
  With .PrintSettings

 .Separations.Enabled = True

 .Separations.Hexachrome = True

 .ShowDialog
  End With
End With 
End Sub