[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.Range

Class Range

Namespace
GrapeCity.Documents.Word
Assembly
GcDocs.Word.dll

Represents a contiguous area of content objects in a document.

See also PersistentRange.

public class Range : RangeBase, IContentList<ContentObject>, IReadOnlyList<ContentObject>, IReadOnlyCollection<ContentObject>, IEnumerable<ContentObject>, IEnumerable
Inheritance
object
Range
Implements
System.Collections.Generic.IReadOnlyList<T><ContentObject>
System.Collections.Generic.IReadOnlyCollection<T><ContentObject>
System.Collections.Generic.IEnumerable<T><ContentObject>
System.Collections.IEnumerable
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Extension Methods

Properties

ParentBidirectionalOverride

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

public BidirectionalOverride ParentBidirectionalOverride { get; }

Property Value

BidirectionalOverride

ParentBody

Gets the parent body where the range content is stored.

public Body ParentBody { get; }

Property Value

Body

ParentCanvasShape

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

public CanvasShape ParentCanvasShape { get; }

Property Value

CanvasShape

ParentCell

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

public Cell ParentCell { get; }

Property Value

Cell

ParentContentControl

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

public ContentControl ParentContentControl { get; }

Property Value

ContentControl

ParentControlContent

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

public ControlContent ParentControlContent { get; }

Property Value

ControlContent

ParentGroupShape

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

public GroupShape ParentGroupShape { get; }

Property Value

GroupShape

Gets the parent hyperlink where the range content is stored.

public Hyperlink ParentHyperlink { get; }

Property Value

Hyperlink

ParentObject

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

public ContentObject ParentObject { get; }

Property Value

ContentObject

ParentOMath

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

public OMath ParentOMath { get; }

Property Value

OMath

ParentOMathElement

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

public OMathElement ParentOMathElement { get; }

Property Value

OMathElement

ParentOMathMatrixRow

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

public OMathMatrixRow ParentOMathMatrixRow { get; }

Property Value

OMathMatrixRow

ParentOMathParagraph

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

public OMathParagraph ParentOMathParagraph { get; }

Property Value

OMathParagraph

ParentOMathStruct

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

public OMathStruct ParentOMathStruct { get; }

Property Value

OMathStruct

ParentParagraph

Gets the parent paragraph where the range content is stored.

public Paragraph ParentParagraph { get; }

Property Value

Paragraph

ParentRow

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

public Row ParentRow { get; }

Property Value

Row

ParentRun

Gets the parent run where the range content is stored.

public Run ParentRun { get; }

Property Value

Run

ParentSection

Gets the parent section where the range content is stored.

public Section ParentSection { get; }

Property Value

Section

ParentShape

Gets the parent shape where the range content is stored.

public Shape ParentShape { get; }

Property Value

Shape

ParentSimpleField

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

public SimpleField ParentSimpleField { get; }

Property Value

SimpleField

ParentTable

Gets the parent table where the range content is stored.

public Table ParentTable { get; }

Property Value

Table

ParentTextFrame

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

public TextFrame ParentTextFrame { get; }

Property Value

TextFrame

Methods

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.

public void Delete()