SECEditSelection::GetAnchor

Returns the anchor position of the selection. The anchor is the first position that starts a selection. The anchor position does not change, while a selection exists, although the tail position may. The anchor does not necessarily preceed the tail position of the selection.

Defined in: SECEditSelection.cpp

Syntax

SECEditLineCol GetAnchor() const

SECEditLineCol GetTail() const

Return Value

void

Parameters

nAnchorLine

Output parameter. The line index of the anchor position.

nAnchorCol

Output parameter. The column index of the anchor position.

See Also

SECEditSelection GetSelection GetTail GetSelStart