Skip to content

PdfSampleFunction Class

Definition

Namespace: Xfinium.Pdf.PdfFunctions

Defines a type 0 (Sampled) function.

C#
public class PdfSampleFunction : PdfFunction

Inheritance: Object → PdfFunction → PdfSampleFunction

Remarks

Type 0 Pdf functions use a sequence of sample values (contained in a stream) to provide an approximation for functions whose domains and ranges are bounded. The samples are organized as an m-dimensional table in which each entry has n components.

Constructors

Name Description
PdfSampleFunction() Initilizes a new PdfSampleFunction object.
PdfSampleFunction(Int32[],Int32,PdfFunctionInterpolationMode,Double[],Double[],Byte[]) Initializes new PdfSampleFunction object.

Properties

Name Description
BitsPerSample Gets or sets the bits per sample.
Decode Gets or sets the function's decoding array.
Domain Gets or sets the function domain.
(inherited from PdfFunction)
Encode Gets or sets the function's encoding array.
InterpolationMode Gets or sets the interpolation mode.
Range Gets or sets the function range.
(inherited from PdfFunction)
Samples Get or sets the function samples.
Size Gets or sets the number of samples.