Object Model Reference : Classes : C : Color : Methods : Color.ConvertTo |
Function ConvertTo(ColorType As cdrColorType, [DestinationColorContext As ColorContext], [SourceColorContext As ColorContext]) As Boolean
Member of Color
The ConvertTo method converts the active color to the specified color type. Optionally, the source color context or destination color context (or both) can be specified.
The ConvertTo method returns True if the color conversion is successfully performed.
Parameter
|
Description
|
ColorType
|
Specifies, as a value of cdrColorType, the desired color type
|
DestinationColorContext
|
Specifies the destination color context. This parameter is optional, and its default value is Nothing.
|
SourceColorContext
|
Specifies the source color context. This parameter is optional, and its default value is Nothing.
|
Copyright 2013 Corel Corporation. All rights reserved.