public HPDF_STATUS setCMYKFill(
    float c, 
    float m, 
    float y, 
    float k)

Sets the filling color.

Parameters

, m, y, k = The level of each color element. They must be between 0 and 1.

Graphics Mode

Before and after - GMode.pageDescription or GMode.textObject.