GemBox.Pdf
  • Overview
  • Examples
  • Free version
  • Support
  • Pricelist

    Show / Hide Table of Contents

    PdfExponentialInterpolationFunction Class

    Namespace:
    GemBox.Pdf.Functions
    Assembly:
    GemBox.Pdf.dll

    Type 2 functions (PDF 1.3) include a set of parameters that define an exponential interpolation of one input value and n output values: f(x) = y[0], ..., y[n-1].

    • C#
    • VB.NET
    public sealed class PdfExponentialInterpolationFunction : PdfFunction
    Public NotInheritable Class PdfExponentialInterpolationFunction
        Inherits PdfFunction
    Inheritance:
    System.Object
    PdfObject
    PdfFunction
    PdfExponentialInterpolationFunction

    Constructors

    PdfExponentialInterpolationFunction()

    Initializes a new instance of the PdfExponentialInterpolationFunction class. The Domain property should be subsequently populated and the N property should be set.

    • C#
    • VB.NET
    public PdfExponentialInterpolationFunction()
    Public Sub New

    Properties

    C0

    (Optional) A list of n numbers that shall define the function result when x = 0.0.

    Default value (if null): [0.0].

    • C#
    • VB.NET
    public IList<double> C0 { get; set; }
    Public Property C0 As IList(Of Double)
    Property Value
    System.Collections.Generic.IList<System.Double>

    A list of n numbers that shall define the function result when x = 0.0.

    See Also
    PDF Specification ISO 32000-1:2008, section '7.10.3 Type 2 (Exponential Interpolation) Functions'

    C1

    (Optional) A list of n numbers that shall define the function result when x = 1.0.

    Default value (if null): [1.0].

    • C#
    • VB.NET
    public IList<double> C1 { get; set; }
    Public Property C1 As IList(Of Double)
    Property Value
    System.Collections.Generic.IList<System.Double>

    A list of n numbers that shall define the function result when x = 1.0.

    See Also
    PDF Specification ISO 32000-1:2008, section '7.10.3 Type 2 (Exponential Interpolation) Functions'

    FunctionType

    Gets the ExponentialInterpolation value.

    • C#
    • VB.NET
    public override PdfFunctionType FunctionType { get; }
    Public Overrides ReadOnly Property FunctionType As PdfFunctionType
    Property Value
    PdfFunctionType

    The ExponentialInterpolation value.

    Overrides
    PdfFunction.FunctionType

    N

    (Required) The interpolation exponent. Each input value x shall return n values, given by y[j] = C0[j] + x^N × (C1[j] − C0[j]), for 0 ≤ j < n.

    • C#
    • VB.NET
    public double N { get; set; }
    Public Property N As Double
    Property Value
    System.Double

    The interpolation exponent.

    See Also
    PDF Specification ISO 32000-1:2008, section '7.10.3 Type 2 (Exponential Interpolation) Functions'

    Inherited Properties

    Domain

    (Required) A collection of mPdfNumberRanges, where m shall be the number of input values. For each i from 0 to m − 1, Domain[i].First shall be less than or equal to Domain[i].Last, and the ith input value, x[i], shall lie in the interval Domain[i].First ≤ x[i] ≤ Domain[i].Last. Input values outside the declared domain shall be clipped to the nearest boundary value.

    (Inherited from PdfFunction)

    Metadata

    (Optional; PDF 1.4) A metadata stream containing metadata for the component.

    (Inherited from PdfObject)

    Range

    (Required for PdfSampledFunctions and PdfPostScriptCalculatorFunctions, optional otherwise) A collection of nPdfNumberRanges, where n shall be the number of output values. For each j from 0 to n − 1, Range[j].First shall be less than or equal to Range[j].Last, and the jth output value, y[j] , shall lie in the interval Range[j].First ≤ y[j] ≤ Range[j].Last. Output values outside the declared range shall be clipped to the nearest boundary value. If this entry is absent, no clipping shall be done.

    (Inherited from PdfFunction)

    Inherited Methods

    Compile()

    Compiles the PDF function described by this PdfFunction instance into executable code and produces a delegate that represents the PDF function.

    (Inherited from PdfFunction)

    Compile(System.Boolean)

    Compiles the PDF function described by this PdfFunction instance into executable code and produces a delegate that represents the PDF function.

    (Inherited from PdfFunction)

    Extension Methods

    PdfObjectExtensions.GetDictionary(PdfObject)
    PdfObjectExtensions.GetOrAddDictionary(PdfObject)
    PdfObjectExtensions.GetArray(PdfObject)

    See Also

    PDF Specification ISO 32000-1:2008, section '7.10.3 Type 2 (Exponential Interpolation) Functions'
    Back to top

    Facebook • Twitter • LinkedIn

    © GemBox Ltd. — All rights reserved.