Skip to content

PDFPostScriptFunction

Namespace: O2S.Components.PDF4NET.PDFFunctions

Defines a type 4 (PostScript) function.

public class PDFPostScriptFunction : PDFFunction

Inheritance ObjectPDFFunctionPDFPostScriptFunction

Remarks

A type 4 PostScript function, also called a PostScript calculator function, is represented as a stream containing code written in a small subset of the PostScript language.

Constructors

PDFPostScriptFunction()

Initilizes a new PDFPostScriptFunction object.

public PDFPostScriptFunction()

PDFPostScriptFunction(Byte[])

Initializes new PDFPostScriptFunction object.

public PDFPostScriptFunction(Byte[] postScript)

Parameters

postScript Byte[]
Postscript source code.


Properties

Domain

Gets or sets the function domain.

public Double[] Domain { get; set; }

Property Value

Double[]
An array of 2 x m numbers, where m is the number of input values.


PostScript

Get or sets the PostScript code.

public Byte[] PostScript { get; set; }

Property Value

Byte[]
The body of the function, written in PostScript language.


Range

Gets or sets the function range.

public Double[] Range { get; set; }

Property Value

Double[]
An array of 2 x n numbers, where n is the number of output values.


Methods