GetImageCount Method (IMAGELIST)


PLBCMP GUI Only

 

The GetImageCount method retrieves the number of images in an IMAGELIST object. The method uses the following format:

 

[label]

{object}.GetImageCount

[GIVING {return}]

 

Where:

label

Optional. A Program Execution Label.

object

Required. An IMAGELIST object whose images are counted.

return

Optional. A Numeric Variable that returns the number of images.

Flags Affected: EOS, OVER, ZERO

Note the following:

  1. Upon completion, {return} will contain the number of images in the IMAGELIST.

  2. If the value returned is zero, the ZERO Condition Flag is set.

  3. If {return} is too small to contain the count of images, the OVER Condition Flag is set.

  4. The EOS Condition Flag is always cleared.

  5. This method is not supported by the PL/B Web Server.

 

 

See Also: Method Syntax, IMAGELIST Methods

 



PL/B Language Reference AddLoadImage (IMAGELIST) LoadStdToolBitMap Method (IMAGELIST)