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

    Show / Hide Table of Contents

    PdfDictionaryEntry Struct

    Namespace:
    GemBox.Pdf.Objects
    Assembly:
    GemBox.Pdf.dll

    Represents a PdfDictionary entry.

    • C#
    • VB.NET
    public struct PdfDictionaryEntry
    Public Structure PdfDictionaryEntry

    Constructors

    PdfDictionaryEntry(PdfName, PdfBasicObject)

    Initializes a new instance of the PdfDictionaryEntry structure with the specified key and value.

    • C#
    • VB.NET
    public PdfDictionaryEntry(PdfName key, PdfBasicObject value)
    Public Sub New(key As PdfName, value As PdfBasicObject)
    Parameters
    key
    PdfName

    The PdfName defined in each PdfDictionaryEntry.

    value
    PdfBasicObject

    The PdfBasicObject associated with key.

    PdfDictionaryEntry(String, PdfBasicObject)

    Initializes a new instance of the PdfDictionaryEntry structure with the specified System.String key and PdfBasicObject value.

    • C#
    • VB.NET
    public PdfDictionaryEntry(string key, PdfBasicObject value)
    Public Sub New(key As String, value As PdfBasicObject)
    Parameters
    key
    System.String

    The System.String from which Key is created by using Create(String) method.

    value
    PdfBasicObject

    The PdfBasicObject associated with key.

    Exceptions
    System.ArgumentNullException

    key is null.

    Properties

    Key

    Gets the PdfName key in the PdfDictionaryEntry.

    • C#
    • VB.NET
    public readonly PdfName Key { get; }
    Public ReadOnly Property Key As PdfName
    Property Value
    PdfName

    The PdfName key in the PdfDictionaryEntry.

    Value

    Gets the PdfBasicObject value in the PdfDictionaryEntry.

    • C#
    • VB.NET
    public readonly PdfBasicObject Value { get; }
    Public ReadOnly Property Value As PdfBasicObject
    Property Value
    PdfBasicObject

    The PdfBasicObject value in the PdfDictionaryEntry.

    Methods

    ToString()

    Returns a System.String that represents this PdfDictionaryEntry instance.

    • C#
    • VB.NET
    public override string ToString()
    Public Overrides Function ToString As String
    Returns
    System.String

    A System.String that represents this PdfDictionaryEntry instance.

    Overrides
    System.ValueType.ToString()
    Remarks

    This method should be used primarily for debugging purposes and should be considered volatile (format of its return value might change in future versions).

    See Also

    PDF Specification ISO 32000-1:2008, section '7.3.7 Dictionary Objects'
    Back to top

    Facebook • Twitter • LinkedIn

    © GemBox Ltd. — All rights reserved.