Description
Returns a Position object that represents the location specified by the offset. The Position object can be used similar to a cursor.
C#
public virtual Position GetPosition( int offset) |
vb.net
Public Overridable Function GetPosition( ByVal offset As Integer ) As Position |
Parameters
offset
Anint
representing the relative offset from the start of this Element to get the Position for.
Returns
APosition
object that represents the location specified by the offset.
Examples
C#
Position oPosition = e.GetPosition(); |
vb.net
Dim oPosition As Position = e.GetPosition() |