API Documentation > CorelDRAW > 2025-v26 > ShapeRange > IVGShapeRange
ShapeRange.ApplyEffectColorBalance method
Applies Color balance effect to the shapes in the range
Syntax:
Sub ApplyEffectColorBalance(ByVal CyanRed As Long, ByVal MagentaGreen As Long, ByVal YellowBlue As Long, Optional ByVal ApplyToShadows As Boolean = True, Optional ByVal ApplyToMidtones As Boolean = True, Optional ByVal ApplyToHighlights As Boolean = True, Optional ByVal PreserveLuminance As Boolean = True)
Parameters:
Name Type Description
CyanRed
Long
MagentaGreen
Long
YellowBlue
Long
ApplyToShadows
Boolean
Specifies whether to apply the effect to shadows.
ApplyToMidtones
Boolean
Specifies whether to apply the effect to midtones.
ApplyToHighlights
Boolean
Specifies whether to apply the effect to highlights.
PreserveLuminance
Boolean
Specifies whether to preserve luminance.
Remarks:
The ApplyEffectColorBalance method applies a color-balance effect to the shapes in a shape range.