## TiffOptions.MaxSampleValue property

Gets or sets the max sample value.

```csharp
public ushort[] MaxSampleValue { get; set; }
```

### Property Value

The max sample value.

### Exceptions

| exception | condition |
| --- | --- |
| ArgumentNullException | value |
| ArgumentOutOfRangeException | value;The array length must correspond to the samples per pixel count. |

### See Also

* class [TiffOptions](../)
* namespace [Aspose.Imaging.ImageOptions](../../tiffoptions/)
* assembly [Aspose.Imaging](../../../)


