PDF Creator Pilot documentation |
Download CHM version of this manual. |
|
![]() ![]() Collapse AllThis method sets the color conversion rule for transforming one color into another.
|
| HRESULT AddColorTransformationRule ( FLOAT originalColor1, FLOAT originalColor2, FLOAT originalColor3, FLOAT originalColor4, FLOAT transformedColor1, FLOAT transformedColor2, FLOAT transformedColor3, FLOAT transformedColor4 ) |
Parameters
originalColor1
1st component of original color
originalColor2
2nd component of original color
originalColor3
3rd component of original color
originalColor4
4th component of original color
transformedColor1
1st component of transformed color
transformedColor2
2nd component of transformed color
transformedColor3
3rd component of transformed color
transformedColor4
4th component of transformed color
Return value
If successful, this method returns S_OK. If it fails, this method should return one of the error values.
Remarks
AddColorTransformationRule may be called only after the TransformColors method is called.
See the TransformColors method for samples.
See Also


