Canvas.scaledViewportHeight Property

Gets the height of the contained area inside the viewport in pixels.
 

Property Value

Type: Number