GetImageQuantity
NumberOfImages = GetImageQuantity()
 
Parameters: NONE
Returns:

    NumberOfImages = The max number of Images that PB can handle
 

      GetImageQuantity read the current max number Images available.



FACTS:


     * See ImageQuantity for more information.




Mini Tutorial:


      This example simply gets the current image cache quantity, displays it and doubles the image quantity and displays it again.

  
; Read the Default image range
  AvailableImages=GetImageQuantity()
  
; display this value to the screen
  Print AvailableImages
  
; double the available number of images
  ImageQuantity AvailableImages*2
  
; display the new new image quanity
  Print GetImageQuantity()
  
; display the screen and wait for a key press
  
  Sync
  WaitKey
  
  



     This example would output (This depends upon what version of PB your running, so the results may differ).

  
  1500
  3000
  

 
Related Info: CreateFxImage | CreateImage | GetFreeImage | ImageQuantity | NewFxImage | NewImage :
 


(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com