Document Solutions for PDF
DS.Documents.Pdf Assembly / GrapeCity.Documents.Pdf.Spec Namespace / PdfString Class / CompareTo Method
The other PdfString.

In This Topic
    CompareTo Method
    In This Topic
    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.
    Syntax
    'Declaration
     
    Public Function CompareTo( _
       ByVal other As PdfString _
    ) As System.Integer
    public System.int CompareTo( 
       PdfString other
    )

    Parameters

    other
    The other PdfString.

    Return Value

    A value that indicates the relative order of the objects being compared. The return value has these meanings:
    • This instance precedes other in the sort order.
    • This instance occurs in the same position in the sort order as other.
    • This instance follows other in the sort other.
    See Also