2.12.0 (latest) 2.11.0 2.10.0 2.9.0 2.8.0 2.7.0 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.0.0

    public sealed class PreprocessingConfig.Types.Pad : IMessage<PreprocessingConfig.Types.Pad>, IEquatable<PreprocessingConfig.Types.Pad>, IDeepCloneable<PreprocessingConfig.Types.Pad>, IBufferMessage, IMessage

Reference documentation and code samples for the Transcoder v1 API class PreprocessingConfig.Types.Pad.

Pad filter configuration for the input video. The padded input video
is scaled after padding with black to match the output resolution.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> PreprocessingConfig.Types.Pad

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[PreprocessingConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.Transcoder.V1/latest/Google.Cloud.Video.Transcoder.V1.PreprocessingConfig.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.Transcoder.V1/latest/Google.Cloud.Video.Transcoder.V1.PreprocessingConfig.Types.md.txt)[Pad](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.Transcoder.V1/latest/Google.Cloud.Video.Transcoder.V1.PreprocessingConfig.Types.Pad.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[PreprocessingConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.Transcoder.V1/latest/Google.Cloud.Video.Transcoder.V1.PreprocessingConfig.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.Transcoder.V1/latest/Google.Cloud.Video.Transcoder.V1.PreprocessingConfig.Types.md.txt)[Pad](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.Transcoder.V1/latest/Google.Cloud.Video.Transcoder.V1.PreprocessingConfig.Types.Pad.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[PreprocessingConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.Transcoder.V1/latest/Google.Cloud.Video.Transcoder.V1.PreprocessingConfig.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.Transcoder.V1/latest/Google.Cloud.Video.Transcoder.V1.PreprocessingConfig.Types.md.txt)[Pad](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.Transcoder.V1/latest/Google.Cloud.Video.Transcoder.V1.PreprocessingConfig.Types.Pad.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Video.Transcoder.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.Transcoder.V1/latest/Google.Cloud.Video.Transcoder.V1.md.txt)

## Assembly

Google.Cloud.Video.Transcoder.V1.dll

## Constructors

### Pad()

    public Pad()

### Pad(Pad)

    public Pad(PreprocessingConfig.Types.Pad other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `PreprocessingConfigTypesPad` |

## Properties

### BottomPixels

    public int BottomPixels { get; set; }

The number of pixels to add to the bottom. The default is 0.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### LeftPixels

    public int LeftPixels { get; set; }

The number of pixels to add to the left. The default is 0.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### RightPixels

    public int RightPixels { get; set; }

The number of pixels to add to the right. The default is 0.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### TopPixels

    public int TopPixels { get; set; }

The number of pixels to add to the top. The default is 0.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `int` |   |