AddColorTransformationRule
IPDFDocument4 :: General document management :: Common

See Also
Collapse All

This method sets the color conversion rule forcing one color to be transformed into another.

Syntax

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

This method may be called only after TransformColors is called.

See the TransformColors method for samples.

See Also

Reference