DeleteAllCameras
DeleteAllCameras
 
Parameters: NONE
Returns: NONE
 

      DeleteAllCameras will delete all the currently created cameras at once.



FACTS:


      * None



Mini Tutorial:


      This example creates two cameras, displays their status, then deletes them and then displays their status again.

  
  
; Create Cameras #1 & 2
  CreateCamera 1
  CreateCamera 2
  
  
; Display camera #1 & #2's status
  Print "This Cameras 1 Status:"+Str$(GetCameraStatus(1))
  Print "This Cameras 2 Status:"+Str$(GetCameraStatus(2))
  
  
  
; Delete ALL of the created cameras
  DeleteAllCameras
  
  
; Display camera #1 & #2's status
  Print "This Cameras 1 Status:"+Str$(GetCameraStatus(1))
  Print "This Cameras 2 Status:"+Str$(GetCameraStatus(2))
  
  
; Display the Screen and wait for the user to press a key
  Sync
  WaitKey
  
  




This example would output.

  
  This Cameras 1 Status:1
  This Cameras 2 Status:1
  This Cameras 1 Status:0
  This Cameras 2 Status:0
  

 
Related Info: CreateCamera | DeleteCamera | GetCameraSurface | NewCamera :
 


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