---
Product: Aspose.PDF
Platform: net
Page Type: reference
Canonical URL: https://reference.aspose.org/pdf/net/SampledFunction
---

# SampledFunction

## Overview

`SampledFunction` is a class in Aspose.PDF FOSS for .NET.
Inherits from: `PdfFunction`.

Sampled function (§7.10.2): lookup table with linear interpolation.

This class provides 1 method for working with SampledFunction objects in .NET programs.
Available methods include: `Evaluate`.
All public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package.
Properties: `BitsPerSample`, `Domain`, `Range`, `Size`.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `Size` | `int[]` | Read | Gets the size. |
| `BitsPerSample` | `int` | Read | Gets the bits per sample. |
| `Domain` | `double[][]` | Read | Input domain — one [min, max] pair per input dimension. |
| `Range` | `double[][]?` | Read | Output range — one [min, max] pair per output. |

## Methods

| Signature | Description |
|-----------|-------------|
| `Evaluate(inputs: double[])` | Evaluate the function. |

## See Also

- [Aspose.PDF for .NET — Enterprise API Reference](https://reference.aspose.com/pdf/net/)