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

    Show / Hide Table of Contents

    PdfChoiceFieldItem Struct

    Namespace:
    GemBox.Pdf.Forms
    Assembly:
    GemBox.Pdf.dll

    Represents an item for a PdfChoiceField.

    • C#
    • VB.NET
    public struct PdfChoiceFieldItem : IEquatable<PdfChoiceFieldItem>
    Public Structure PdfChoiceFieldItem
        Implements IEquatable(Of PdfChoiceFieldItem)
    Implements
    System.IEquatable<PdfChoiceFieldItem>

    Properties

    ExportValue

    Gets the export value of this PdfChoiceFieldItem.

    • C#
    • VB.NET
    public readonly string ExportValue { get; }
    Public ReadOnly Property ExportValue As String
    Property Value
    System.String

    The export value of this PdfChoiceFieldItem.

    Value

    Gets the (display) value of this PdfChoiceFieldItem.

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

    The (display) value of this PdfChoiceFieldItem.

    Methods

    Equals(PdfChoiceFieldItem)

    Determines whether the specified PdfChoiceFieldItem is equal to this PdfChoiceFieldItem instance.

    • C#
    • VB.NET
    public bool Equals(PdfChoiceFieldItem other)
    Public Function Equals(other As PdfChoiceFieldItem) As Boolean
    Parameters
    other
    PdfChoiceFieldItem

    The PdfChoiceFieldItem to compare with this PdfChoiceFieldItem instance.

    Returns
    System.Boolean

    true if the specified PdfChoiceFieldItem is equal to this PdfChoiceFieldItem instance; otherwise, false.

    Equals(Object)

    Determines whether the specified System.Object is equal to this PdfChoiceFieldItem instance.

    • C#
    • VB.NET
    public override bool Equals(object obj)
    Public Overrides Function Equals(obj As Object) As Boolean
    Parameters
    obj
    System.Object

    The System.Object to compare with this PdfChoiceFieldItem instance.

    Returns
    System.Boolean

    true if the specified System.Object is equal to this PdfChoiceFieldItem instance; otherwise, false.

    Overrides
    System.ValueType.Equals(System.Object)

    GetHashCode()

    Returns a hash code for this PdfChoiceFieldItem instance.

    • C#
    • VB.NET
    public override int GetHashCode()
    Public Overrides Function GetHashCode As Integer
    Returns
    System.Int32

    A hash code for this PdfChoiceFieldItem instance, suitable for use in hashing algorithms and data structures like a hash table.

    Overrides
    System.ValueType.GetHashCode()

    ToString()

    Returns a System.String that represents this PdfChoiceFieldItem instance.

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

    A System.String that represents this PdfChoiceFieldItem 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).

    Operators

    Equality(PdfChoiceFieldItem, PdfChoiceFieldItem)

    Determines whether first and second PdfChoiceFieldItems are equal.

    • C#
    • VB.NET
    public static bool operator ==(PdfChoiceFieldItem first, PdfChoiceFieldItem second)
    Public Shared Operator =(first As PdfChoiceFieldItem, second As PdfChoiceFieldItem) As Boolean
    Parameters
    first
    PdfChoiceFieldItem

    The first item.

    second
    PdfChoiceFieldItem

    The second item.

    Returns
    System.Boolean

    true if first and second items are equal; otherwise, false.

    Inequality(PdfChoiceFieldItem, PdfChoiceFieldItem)

    Determines whether first and second PdfChoiceFieldItems are not equal.

    • C#
    • VB.NET
    public static bool operator !=(PdfChoiceFieldItem first, PdfChoiceFieldItem second)
    Public Shared Operator <>(first As PdfChoiceFieldItem, second As PdfChoiceFieldItem) As Boolean
    Parameters
    first
    PdfChoiceFieldItem

    The first item.

    second
    PdfChoiceFieldItem

    The second item.

    Returns
    System.Boolean

    true if first and second items are not equal; otherwise, false.

    Implements

    System.IEquatable<T>

    See Also

    PDF Specification ISO 32000-1:2008, section '12.7.4.4 Choice Fields'
    Back to top

    Facebook • Twitter • LinkedIn

    © GemBox Ltd. — All rights reserved.