Discuss this help topic in SecureBlackbox Forum

TElPDFImage.AddMaskColorComponent

TElPDFImage     See also     


Filter: C#/Java  VB.NET  Pascal  C++  PHP  


Adds a color component to the mask.

Declaration

[C#/Java]
    int AddMaskColorComponent(int MinCC, int MaxCC);

[VB.NET]
    Function AddMaskColorComponent(ByVal MinCC As Integer, ByVal MaxCC As Integer) As Integer

[Pascal]
    function AddMaskColorComponent(MinCC, MaxCC : integer) : integer;

[C++]
    int32_t AddMaskColorComponent(int32_t MinCC, int32_t MaxCC);

[PHP]
    integer AddMaskColorComponent(integer $MinCC, integer $MaxCC)

Parameters

  • MinCC - minimal value to mask.
  • MaxCC - maximum value to mask.

Return value

    Returns the index of the newly added items in the lists of min and max mask values.

Description

    Use this method to add min amd max mask values for specific color component. Use of ths method depends on the value of ColorSpaceType. For instance, for RGB images AddMaskColorComponent should be called three times (for each component R, G and B) to mask specific color or a range of colors. The min and max mask values are added to the corresponding lists: MaskColorComponentsMin and MaskColorComponentsMax.

See also:     ColorSpaceType     MaskColorComponentsMax     MaskColorComponentsMin     DeleteMaskColorComponent    

Discuss this help topic in SecureBlackbox Forum