TextPointer.GetPositionAtOffset Method (Int32, LogicalDirection)
Assembly: PresentationFramework (in PresentationFramework.dll)
public TextPointer GetPositionAtOffset( int offset, LogicalDirection direction )
- Type: System.Int32
Any of the following is considered to be a symbol:
An opening or closing tag for the TextElement element.
A UIElement element contained in an InlineUIContainer or BlockUIContainer. Note that such a UIElement is always counted as exactly one symbol; any additional content or elements contained by the UIElement are not counted as symbols.
A 16-bit Unicode character inside of a text Run element.