---
title: "TiffOptions.SamplesPerPixel"
url: "https://reference.aspose.com/psd/net/aspose.psd.imageoptions/tiffoptions/samplesperpixel/"
product: "Aspose.PSD for .NET API Reference"
description: "TiffOptions property. Gets the samples per pixel. To change this property value use the BitsPerSample property setter"
---

{{< psd/tize >}}
## TiffOptions.SamplesPerPixel property

Gets the samples per pixel. To change this property value use the [`BitsPerSample`](../bitspersample/) property setter.

```csharp
public ushort SamplesPerPixel { get; }
```

### Property Value

The samples per pixel.

### See Also

* class [TiffOptions](../)
* namespace [Aspose.PSD.ImageOptions](../../../aspose.psd.imageoptions/)
* assembly [Aspose.PSD](../../../)


