# NxViewPort Class

Namespace: [Qlik.Engine](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.htm)  
Assembly: Qlik.Engine.dll

## Inheritance

* System.Object
  * NxViewPort

## Syntax

```
[ValueClass]
public class NxViewPort : INxViewPort
```

## Constructors

| Name | Description |
| --- | --- |
| [NxViewPort()](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.NxViewPort.-ctor.htm#Qlik_Engine_NxViewPort__ctor) |  |

## Properties

| Name | Description |
| --- | --- |
| [Height](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.NxViewPort.Height.htm#Qlik_Engine_NxViewPort_Height) | Height of the canvas in pixels.<br><br>JSON property name: qHeight |
| [Width](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.NxViewPort.Width.htm#Qlik_Engine_NxViewPort_Width) | Width of the canvas in pixels.<br><br>JSON property name: qWidth |
| [ZoomLevel](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.NxViewPort.ZoomLevel.htm#Qlik_Engine_NxViewPort_ZoomLevel) | Zoom level.<br><br>JSON property name: qZoomLevel |