DeleteCamera
DeleteCamera CameraIndex
 
Parameters:

    CameraIndex = The Index of the Camera that you wish to delete
Returns: NONE
 

      DeleteCamera will delete a created user camera.




FACTS:


      * DeleteCamera only delete the camera, it doesn't delete the surface the camera was attached to. See DeleteImage

      * See DeleteAllCameras to remove all existing cameras



Mini Tutorial:


      This example Creates a camera, then deletes it and display it's status to screen.

  
  
; Create Camera #1
  CreateCamera 1
  
; Display camera #1'as status
  Print "This Cameras Status:"+Str$(GetCameraStatus(1))
  
; Delete this camera
  DeleteCamera 1
  
; Display camera #1'as status
  Print "This Cameras Status:"+Str$(GetCameraStatus(1))
  
; Display the Screen and wait for the user to press a key
  Sync
  WaitKey
  
  




This example would output.

  
  This Cameras Status:1
  This Cameras Status:0
  

 
Related Info: CreateCamera | DeleteAllCameras | GetCameraStatus | NewCamera :
 


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