CompareTo(TextPosition) Method

Definition

Assembly Broadside.Viewer.dll

Compares two positions in document order: by page, then by offset.

public readonly int CompareTo(TextPosition other)

Parameters

other
TextPosition

The other position.

Returns

Int32
Negative when this position comes first, 0 when equal, positive when it comes after.