API Documentation
>
CorelDRAW
>
2025-v26
>
Document
>
IVGDocument
Document.AssignColorContext method
Replaces the existing document color context with the new one. Document colors preserve their values and may change their appearance.
Syntax:
Sub
AssignColorContext
(
ByVal
ColorContext
As
ColorContext
)
Parameters:
Name
Type
Description
ColorContext
ColorContext
Remarks:
The
AssignColorContext
method replaces the existing color context for the document with a new color context. Document colors preserve their values, however, and may change in appearance.