[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.Spec.PdfString.CompareTo

CompareTo Method

CompareTo(PdfString)

Compares the current PdfString with another PdfString and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.

Declaration
public int CompareTo(PdfString other)
Public Function CompareTo(other As PdfString) As Integer
Parameters
Type Name Description
PdfString other

The other PdfString.

Returns
Type Description
int

A value that indicates the relative order of the objects being compared. The return value has these meanings:

  • Less than 0This instance precedes other in the sort order.
  • 0This instance occurs in the same position in the sort order as other.
  • Greater than 0This instance follows other in the sort other.
Implements