ColorPtSetColorantNum Method |
Sets the colorant number.
Namespace:
pdftron.PDF
Assembly:
pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax public void SetColorantNum(
int num
)
Public Sub SetColorantNum (
num As Integer
)
public:
virtual void SetColorantNum(
[InAttribute] int num
) sealed
function SetColorantNum(num);
Parameters
- num
- Type: SystemInt32
the new colorant number
Remarks If a color point has more than 4 colorants, SetColorantNum(num_colorants) must be called
before getting or setting tint values. The number of colorants depends on the associated color space.
To find how many colorant are associated with a given color space use color_space.GetComponentNum().
See Also