WPF >
Windows >
Media
Media enable integration of rich media:
- drawings
- text
- audio/video content
Classes
WPF > Windows > Documents > TextRange
TextRange is a selection of content between two TextPointer positions.
Example
Extract the Text Content from a RichTextBox
TextRange textRange = new TextRange(richTB.Document.ContentStart, richTB.Document.ContentEnd);
WPF > Windows > Documents
WPF Documents contains types that support FixedDocument, FlowDocument and XPS document creation.