Returns a Position object that represents the location specified by the offset. The Position object can be used similar to a cursor.

 public virtual Position GetPosition(int offset)
Public Overridable Function GetPosition(ByVal offset As Integer) As Position

An int representing the relative offset from the start of this Element to get the Position for.

A Position object that represents the location specified by the offset.

Position oPosition = e.GetPosition();
Dim oPosition As Position = e.GetPosition()