{{< psd/tize >}}
## JpegOptions.SampleRoundingMode property

Gets or sets the sample rounding mode to fit an 8-bit value to an n-bit value. BitsPerChannel

```csharp
public SampleRoundingMode SampleRoundingMode { get; set; }
```

### See Also

* enum [SampleRoundingMode](../../../aspose.psd.fileformats.jpeg/sampleroundingmode/)
* class [JpegOptions](../)
* namespace [Aspose.PSD.ImageOptions](../../../aspose.psd.imageoptions/)
* assembly [Aspose.PSD](../../../)


