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 String value.
Parameters
Exceptions
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
true if the other
PdfAppearanceState is equal to this PdfAppearanceState instance; otherwise, false.
Equals(Object)
Determines whether the specified Object is equal to this PdfAppearanceState instance.
public override bool Equals(object obj)
Public Overrides Function Equals(obj As Object) As Boolean
Parameters
Returns
true if the specified Object is a PdfAppearanceState and is equal to this PdfAppearanceState instance; otherwise, false.
Overrides
GetHashCode()
Returns a hash code for this PdfAppearanceState instance.
Returns
An integer value that specifies a hash value for this PdfAppearanceState instance.
Overrides
ToString()
Returns a String that represents this PdfAppearanceState instance.
Returns
A 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
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
true if first
and second
appearance states are not equal; otherwise, false.