# VideoDimensions (/zh-CN/api-reference/rtc/csharp-windows/class-videodimensions)
> For AI agents: see the complete documentation index at [llms.txt](/llms.txt).
```csharp
public class VideoDimensions
{
public VideoDimensions()
{
width = 640;
height = 480;
}
public VideoDimensions(int width, int height)
{
this.width = width;
this.height = height;
}
public int width { set; get; }
public int height { set; get; }
}
```
## 属性 [#属性]
视频宽度,单位为像素。
视频高度,单位为像素。