# GetResizeWidth(VideoResizeMode)

> Get the resulting width of the resize operation for the specified resize mode.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor](/engine/6000.3/script-reference/unityeditor.md)
* **Assembly:** UnityEditor

```csharp
public int GetResizeWidth(VideoResizeMode mode)
```

### Parameters

**** (\[VideoResizeMode]\(/engine/6000.3/script-reference/unityeditor/videoresizemode)): Mode for which the width is queried.

### Returns

| Type                                                       | Description                          |
| ---------------------------------------------------------- | ------------------------------------ |
| [int](https://learn.microsoft.com/dotnet/api/system.int32) | Width for the specified resize mode. |
