[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.Range

Range Class

Represents a contiguous area of content objects in a document.

See also PersistentRange.

Namespace: GrapeCity.Documents.Word
Assembly: DS.Documents.Word.dll
Syntax
public class Range : RangeBase, IContentList<ContentObject>, IReadOnlyList<ContentObject>, IReadOnlyCollection<ContentObject>, IEnumerable<ContentObject>, IEnumerable
Public Class Range
    Inherits RangeBase
    Implements IContentList(Of ContentObject), IReadOnlyList(Of ContentObject), IReadOnlyCollection(Of ContentObject), IEnumerable(Of ContentObject), IEnumerable

Properties

Name Description
ParentBidirectionalOverride

Gets the parent bidirectional override where the range content is stored.

ParentBody

Gets the parent body where the range content is stored.

ParentCanvasShape

Gets the parent canvas shape where the range content is stored.

ParentCell

Gets the parent table cell where the range content is stored.

ParentContentControl

Gets the parent content control where the range content is stored.

ParentControlContent

Gets the parent content of a control where the range content is stored.

ParentGroupShape

Gets the parent group shape where the range content is stored.

Gets the parent hyperlink where the range content is stored.

ParentOMath

Gets the parent Office Math zone where the range content is stored.

ParentOMathElement

Gets the parent Office Math element where the range content is stored.

ParentOMathMatrixRow

Gets the parent Office Math matrix row where the range content is stored.

ParentOMathParagraph

Gets the parent Office Math paragraph where the range content is stored.

ParentOMathStruct

Gets the parent Office Math structure where the range content is stored.

ParentObject

Gets the parent content object where the range content is stored.

ParentParagraph

Gets the parent paragraph where the range content is stored.

ParentRow

Gets the parent table row where the range content is stored.

ParentRun

Gets the parent run where the range content is stored.

ParentSection

Gets the parent section where the range content is stored.

ParentShape

Gets the parent shape where the range content is stored.

ParentSimpleField

Gets the parent simple field where the range content is stored.

ParentTable

Gets the parent table where the range content is stored.

ParentTextFrame

Gets the parent text frame where the range content is stored.

Methods

Name Description
Delete()

Clears all content in the range including bound markers.

If the range is not a PersistentRange, it cannot be used after this method is called.

Extension Methods