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.Crop : IMessage<PreprocessingConfig.Types.Crop>, IEquatable<PreprocessingConfig.Types.Crop>, IDeepCloneable<PreprocessingConfig.Types.Crop>, IBufferMessage, IMessage

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

Video cropping configuration for the input video. The cropped input video
is scaled to match the output resolution.

## Inheritance

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

## 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)[Crop](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.Transcoder.V1/latest/Google.Cloud.Video.Transcoder.V1.PreprocessingConfig.Types.Crop.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)[Crop](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.Transcoder.V1/latest/Google.Cloud.Video.Transcoder.V1.PreprocessingConfig.Types.Crop.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)[Crop](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.Transcoder.V1/latest/Google.Cloud.Video.Transcoder.V1.PreprocessingConfig.Types.Crop.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

### Crop()

    public Crop()

### Crop(Crop)

    public Crop(PreprocessingConfig.Types.Crop other)

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

## Properties

### BottomPixels

    public int BottomPixels { get; set; }

The number of pixels to crop from the bottom. The default is 0.

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

### LeftPixels

    public int LeftPixels { get; set; }

The number of pixels to crop from the left. The default is 0.

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

### RightPixels

    public int RightPixels { get; set; }

The number of pixels to crop from the right. The default is 0.

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

### TopPixels

    public int TopPixels { get; set; }

The number of pixels to crop from the top. The default is 0.

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