Components for Developers
© 2000-2012, Two Pilots

PDF Library Download Features Manual Tutorials FAQ Pricing HTML2PDF-X Pilot History In the Lab

PDF Creator Pilot documentation

Download CHM version of this manual.
Common
AddColorTransformationRule

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

PDF Library Download Features Manual Tutorials FAQ Pricing HTML2PDF-X Pilot History In the Lab

 

 

PDF Library | Virtual Printer | Converters to PDF

Support | Blog | Forum | Contacts

© 2000-2012, Two Pilots