PdfAppearanceState Struct
Represents an annotation's appearance state, which selects the applicable appearance stream from an appearance subdictionary (see Section 12.5.5, "Appearance Streams").
public struct PdfAppearanceState : IEquatable<PdfAppearanceState>
Public Structure PdfAppearanceState
Implements IEquatable(Of PdfAppearanceState)
Implements
Constructors
PdfAppearanceState(String)
Initializes a new instance of the PdfAppearanceState structure from the specified System.String value.
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.
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.
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
GetHashCode()
Returns a hash code for this PdfAppearanceState instance.
Returns
- System.Int32
An integer value that specifies a hash value for this PdfAppearanceState instance.
Overrides
ToString()
Returns a System.String that represents this PdfAppearanceState instance.
Returns
- System.String
A System.String that represents this PdfAppearanceState instance.
Overrides
Operators
Equality(PdfAppearanceState, PdfAppearanceState)
Determines whether first
and second
PdfAppearanceStates are equal.
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.
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.