ViewportObjectID =  viewport .create  (  ViewportWidth ,  ViewportHeight  )  
                                
Description :

This instruction creates a viewport with a specified width and height.

Parameters :

  • Width of the viewport.
  • Height of the viewport.

Return Handle :

  • ObjectID of the viewport if the creation was successfull, NULL otherwise.

Notes :


This type of viewport provides more bitmap manipulation possibilities at the cost of reduced performance.

Examples :