Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Description

Excerpt

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

Signature
C#
C#
 public virtual Position GetPosition(int offset)
Signature
vb.net
vb.net
Public Overridable Function GetPosition(ByVal offset As Integer) As Position
Parameters
Param
offset
offset

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

Returns

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

Example
Code Block
csharp
csharp
titleC#
Position oPosition = e.GetPosition();
Code Block
vb.net
vb.net
titlevb.net
Dim oPosition As Position = e.GetPosition()