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

    Show / Hide Table of Contents

    PdfAppearanceState Struct

    Namespace:
    GemBox.Pdf.Annotations
    Assembly:
    GemBox.Pdf.dll

    Represents an annotation's appearance state, which selects the applicable appearance stream from an appearance subdictionary (see Section 12.5.5, "Appearance Streams").

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

    Constructors

    PdfAppearanceState(String)

    Initializes a new instance of the PdfAppearanceState structure from the specified System.String value.

    • C#
    • VB.NET
    public PdfAppearanceState(string value)
    Public Sub New(value As String)
    Parameters
    value
    System.String

    The System.String value.

    Exceptions
    System.ArgumentNullException

    value is null.

    Methods

    Equals(PdfAppearanceState)

    Determines whether the other PdfAppearanceState is equal to this PdfAppearanceState instance.

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

    The other appearance state to compare with this appearance state instance.

    Returns
    System.Boolean

    true if the other PdfAppearanceState is equal to this PdfAppearanceState instance; otherwise, false.

    Equals(Object)

    Determines whether the specified System.Object is equal to this PdfAppearanceState 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 appearance state instance.

    Returns
    System.Boolean

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

    Overrides
    System.ValueType.Equals(System.Object)

    GetHashCode()

    Returns a hash code for this PdfAppearanceState instance.

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

    An integer value that specifies a hash value for this PdfAppearanceState instance.

    Overrides
    System.ValueType.GetHashCode()

    ToString()

    Returns a System.String that represents this PdfAppearanceState instance.

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

    A System.String that represents this PdfAppearanceState instance.

    Overrides
    System.ValueType.ToString()

    Operators

    Equality(PdfAppearanceState, PdfAppearanceState)

    Determines whether first and second PdfAppearanceStates are equal.

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

    The first appearance state.

    second
    PdfAppearanceState

    The second appearance state.

    Returns
    System.Boolean

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

    Inequality(PdfAppearanceState, PdfAppearanceState)

    Determines whether first and second PdfAppearanceStates are not equal.

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

    The first appearance state.

    second
    PdfAppearanceState

    The second appearance state.

    Returns
    System.Boolean

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

    Implements

    System.IEquatable<T>
    Back to top

    Facebook • Twitter • LinkedIn

    © GemBox Ltd. — All rights reserved.