API Documentation
>
CorelDRAW
>
2025-v26
>
TraceSettings
>
IVGTraceSettings
TraceSettings.SetColorMode method
Changes the color model of resulting vector objects and resets the generated color palette
Syntax:
Sub
SetColorMode
(
ByVal
ColorMode
As
cdrColorType
,
Optional
ByVal
PaletteID
As
cdrPaletteID
=
cdrCustom
)
Parameters:
Name
Type
Description
ColorMode
cdrColorType
PaletteID
cdrPaletteID
Specifies the ID of the palette, and returns
cdrPaletteID
.
Remarks:
The
SetColorMode
method changes the color model of the resulting vector image and resets the generated color palette.