Description |
---|
Excerpt |
---|
This class is used to represent a cursor position in the document. It sits between two characters and its position is represented as the index of the character it sits behind. A Position object can be obtained from an Element. |
Signature | C# | C# |
---|---|---|
Wiki Markup | ||
{description}
{excerpt}This class is used to represent a cursor position in the document. It sits between two characters and its position is represented as the index of the character it sits behind. A [Position|Position] object can be obtained from an [Element|Element].{excerpt}
{signature:C#}
public sealed class Position
| ||
Signature | ||
{signature}{signature:vb.net | vb.net | }
Public NotInheritable Class Position
|
Remarks |
---|
You cannot create a new The following sample gets a |
Example | |||
---|---|---|---|
Code Block | | csharp | csharp |
title | C# | ||
Code Block | vb.net | title |
Properties |
---|
...
Name
...
Description
...
...
{code} {example} {properties} ||Name||Description|| |[PositionValue|Position.PositionValue]|{excerpt-include:Position.PositionValue |
...
Methods |
---|
...
Name
...
Description
|nopanel=true}| {methods} ||Name||Description|| |[InsertHyperlink(String, String) |
...
|Position.InsertHyperlink(String, String) |
...
]|{excerpt-include:Position.InsertHyperlink(String, String) |
...
|nopanel |
...
=true}| |[InsertImage(String) |
...
|Position.InsertImage(String) |
...
]|{excerpt-include:Position.InsertImage(String) |
...
|nopanel |
...
=true}| |[InsertImage(System.IO.Stream) |
...
|Position.InsertImage(System.IO.Stream) |
...
]|{excerpt-include:Position.InsertImage(System.IO.Stream) |
...
|nopanel |
...
=true}| |[InsertList(Boolean) |
...
|Position.InsertList(Boolean) |
...
]|{excerpt-include:Position.InsertList(Boolean) |
...
|nopanel |
...
=true}| |[InsertMergeField(String, String) |
...
|Position.InsertMergeField(String, String) |
...
]|{excerpt-include:Position.InsertMergeField(String, String) |
...
|nopanel |
...
=true}| |[InsertParagraph(NamedStyle) |
...
|Position.InsertParagraph(NamedStyle) |
...
]|{excerpt-include:Position.InsertParagraph(NamedStyle) |
...
|nopanel |
...
=true}| |[InsertSection() |
...
|Position.InsertSection() |
...
]|{excerpt-include:Position.InsertSection() |
...
|nopanel |
...
=true}| |[InsertTable(Int32, Int32) |
...
|Position.InsertTable(Int32, Int32) |
...
]|{excerpt-include:Position.InsertTable(Int32, Int32) |
...
|nopanel |
...
=true}| |[InsertText(String, Boolean) |
...
|Position.InsertText(String, Boolean) |
...
]|{excerpt-include:Position.InsertText(String, Boolean) |
...
|nopanel |
...
=true}| |