...
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 | ||||
---|---|---|---|---|
| ||||
public virtual Position GetPosition(int offset)
{signature}{signature: |
Signature | ||||||
---|---|---|---|---|---|---|
| }
| |||||
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#} |
Parameters |
---|
Param | ||||
---|---|---|---|---|
| ||||
An |
Returns |
---|
A |
Example | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|