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
Wiki Markup
{description}
{excerpt}Returns a [Position|Position] object that represents the location specified by the offset. The Position object can be used similar to a cursor.{excerpt}
{signature:C#}
 public virtual Position GetPosition(int offset)
{signature}{signature:vb.net}
Public Overridable Function GetPosition(ByVal offset As Integer) As Position
{signature}
{parameters}
{param:offset}An {{int}} representing the relative offset from the start of this Element to get the Position for.{param}
{returns}A {{Position}} object that represents the location specified by the offset.{returns}
{example}{code:csharp|title=C#}
Position oPosition = e.GetPosition();{code}
{code:vb.net|title=vb.net}
Dim oPosition As Position = e.GetPosition(){code}

{example}