Click or drag to resize
ContentPosition Class
Represents a position within a DocumentModel.
Inheritance Hierarchy
SystemObject
  GemBox.DocumentContentPosition

Namespace: GemBox.Document
Assembly: GemBox.Document (in GemBox.Document.dll) Version: 25.3.30.1231
Syntax
public sealed class ContentPosition

The ContentPosition type exposes the following members.

Methods
  NameDescription
Public methodInsertRange
Inserts the content of the specified ContentRange at the current ContentPosition.
Public methodLoadFromClipboard(LoadOptions)
Loads the content of the clipboard at the current ContentPosition using specified text format.
Public methodLoadFromClipboard(IEnumerableLoadOptions)
Loads the content of the clipboard at the current ContentPosition using specified text format.
Public methodLoadText(String)
Loads the specified text at the current ContentPosition.
Public methodLoadText(String, CharacterFormat)
Loads the specified text with specific formatting at the current ContentPosition.
Public methodLoadText(String, HtmlLoadOptions)
Loads the specified HTML text at the current ContentPosition.
Public methodLoadText(String, RtfLoadOptions)
Loads the specified RTF text at the current ContentPosition.
Public methodLoadText(String, TxtLoadOptions)
Loads the specified text at the current ContentPosition.
Top
Properties
  NameDescription
Public propertyParent
Gets the parent that scopes the current ContentPosition.
Top
Remarks
For more information, see content manipulation samples.
See Also