PostScriptFunction Constructor

Apitron PDF Kit help
Apitron.PDF.Kit library for .NET
Initializes a new instance of the Object class.

Namespace:  Apitron.PDF.Kit.FixedLayout.Resources.Functions
Assembly:  Apitron.PDF.Kit (in Apitron.PDF.Kit.dll) Version: 2.0.37.0 (2.0.37.0)
Syntax

public PostScriptFunction(
	string resourceID,
	double[] domain,
	double[] range,
	string postScriptFunctionBody
)

Parameters

resourceID
Type: SystemString
The resource id.
domain
Type: SystemDouble
An array of 2 × m numbers, where m shall be the number of input values. For each i from 0 to m − 1, Domain2i shall be less than or equal to Domain2i+1, and the ith input value, xi, shall lie in the interval Domain2i ≤ xi ≤ Domain2i+1. Input values outside the declared domain shall be clipped to the nearest boundary value.
range
Type: SystemDouble
An array of 2 × n numbers, where n shall be the number of output values. For each j from 0 to n − 1, Range2j shall be less than or equal to Range2j+1, and the jth output value, yj , shall lie in the interval Range2j ≤ yj ≤ Range2j+1. Output values outside the declared range shall be clipped to the nearest boundary value. If this entry is absent, no clipping shall be done.
postScriptFunctionBody
Type: SystemString
The function body.
See Also

Reference