API Documentation > CorelDRAW > 2025-v26
ColorContext class
ColorContext class
Syntax:
Class ColorContext
Remarks:
The ColorContext class represents the settings of a color context.
Properties:
Name Description
BlendingColorModel Specifies the blending color model of the color context
CMYKColorProfile Specifies the CMYK color profile of the color context
ColorProfile Specifies a color profile of given color model
ColorProfileNameList Returns a comma-separated list of names of all the color profiles specified in the color context
ColorProfiles Returns a collection of all the color profiles specified in the color context
GrayscaleColorProfile Specifies the Grayscale color profile of the color context
ReadOnly Returns True if this instance of color context is read-only and cannot be modified
RenderingIntent Specifies the rendering intent of the color context
RGBColorProfile Specifies the RGB color profile of the color context
Methods:
Name Description
CopyAssign Copies the data from one color context into another
GetCopy Creates a copy of the color context
IsSame Compares the two color contexts and returns True if they have the same parameters
Merge Merges two color context by replacing non-empty color profiles from the source color context in the destination