USEMASK Property


PLBCMP GUI Only

 

The USEMASK property determines whether an IMAGELIST object is created to support an image masking. The property uses the following format:

USEMASK={value}

Note the following:

  1. USEMASK may be used in CREATE or GETPROP statements of an IMAGELIST object.

  2. When the USEMASK property is set ON, it is possible to apply an image mask using the MASKCOLOR and USECOLORMASK properties to create transparent areas as an image is added to the IMAGELIST object.

  3. When an IMAGELIST is created with the USEMASK set to OFF, the IMAGELIST object cannot support image masking and use of the MASKCOLOR and USECOLORMASK properties to apply a color mask causes the images to have black areas.

  4. {value} is a decimal number, a Numeric Variable, an Expression, or a keyword as defined in PLBEQU.INC. The supported values and keywords are:

  5.  

    Value

    Keyword

    Mask usage is ....

    0

    $OFF

    disabled. (default)

    1

    $ON

    enabled.

     

  6. This property is ignored when using the PL/B Web Server.

 

 

See Also: Object Properties, Object IO Instructions, Object Definitions

 



PL/B Language Reference USECSS Property USERDATA Property