Returns a comparison result that indicates the location of the destination in the document, relative to the current position.
Original signature is '- (NSComparisonResult)compare:(PDFDestination *)destination'
Available in Mac OS X v10.5 and later.

C# | Visual Basic | Visual C++ |
public virtual NSComparisonResult Compare( PDFDestination destination )
Public Overridable Function Compare ( _ destination As PDFDestination _ ) As NSComparisonResult
public: virtual NSComparisonResult Compare( PDFDestination^ destination )

- destination (PDFDestination)
- The destination in the document to be located.

A comparison result, indicating the position of the passed-in destination relative to the current position.

- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)