Width =  viewport .width .get  (  ObjectID  )  
                                
Description :

This instruction returns the width of a viewport.

Parameters :

  • ObjectID of the viewport.

Return Value :

  • Width of the viewport, expressed in pixels.

Examples :