## TiffOptions.SampleFormat property

Gets or sets the sample format.

```csharp
public TiffSampleFormats[] SampleFormat { get; set; }
```

### Property Value

The sample format.

### Exceptions

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

### See Also

* enum [TiffSampleFormats](../../../aspose.imaging.fileformats.tiff.enums/tiffsampleformats/)
* class [TiffOptions](../)
* namespace [Aspose.Imaging.ImageOptions](../../tiffoptions/)
* assembly [Aspose.Imaging](../../../)


