{{< psd/tize >}}
## 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.psd.fileformats.tiff.enums/tiffsampleformats/)
* class [TiffOptions](../)
* namespace [Aspose.PSD.ImageOptions](../../../aspose.psd.imageoptions/)
* assembly [Aspose.PSD](../../../)


