Document Solutions for Word
DS.Documents.Word Assembly / GrapeCity.Documents.Word Namespace / Range Class
Properties Methods

In This Topic
    Range Class Members
    In This Topic

    The following tables list the members exposed by Range.

    Public Properties
     NameDescription
    Public Property Gets the collection of bidirectional overrides included in this range. (Inherited from GrapeCity.Documents.Word.RangeBase)
    Public Property Gets the collection of bookmarks included in this range. (Inherited from GrapeCity.Documents.Word.RangeBase)
    Public Property Gets the collection of canvas shapes included in this range. (Inherited from GrapeCity.Documents.Word.RangeBase)
    Public Property Gets the collection of table cells included in this range. (Inherited from GrapeCity.Documents.Word.RangeBase)
    Public Property Gets the collection of comments included in this range. (Inherited from GrapeCity.Documents.Word.RangeBase)
    Public Property Gets the collection of complex fields included in this range. (Inherited from GrapeCity.Documents.Word.RangeBase)
    Public Property Gets the collection of content controls included in this range. (Inherited from GrapeCity.Documents.Word.RangeBase)
    Public Property Gets the number of content items in the collection. (Inherited from GrapeCity.Documents.Word.ContentCollection<T>)
    Public PropertyGets the DocumentBase containing this range. (Inherited from GrapeCity.Documents.Word.RangeBase)
    Public Property Gets the collection of editable range objects included in this range. (Inherited from GrapeCity.Documents.Word.RangeBase)
    Public Property Gets the end marker of the range. (Inherited from GrapeCity.Documents.Word.RangeBase)
    Public Property Gets the collection of endnotes included in this range. (Inherited from GrapeCity.Documents.Word.RangeBase)
    Public Property Gets the first item in the collection. (Inherited from GrapeCity.Documents.Word.ContentCollection<T>)
    Public Property Gets the collection of footnotes included in this range. (Inherited from GrapeCity.Documents.Word.RangeBase)
    Public Property Gets the collection of group shapes included in this range. (Inherited from GrapeCity.Documents.Word.RangeBase)
    Public Property Gets the collection of hyperlinks included in this range. (Inherited from GrapeCity.Documents.Word.RangeBase)
    Public Property Gets the collection of ink shapes included in this range. (Inherited from GrapeCity.Documents.Word.RangeBase)
    Public PropertyGets a value indicating whether this range is alive and can be used.

    If this range is a PersistentRange, this property always returns true.

    If this range is a Range (created by a call to GetRange) it can become unusable if its content is deleted. In that case this property will return false.

    (Inherited from GrapeCity.Documents.Word.RangeBase)
    Public Property Gets a value indicating whether this range is empty (does not contain any formattable content). (Inherited from GrapeCity.Documents.Word.RangeBase)
    Public Property Gets the item at the specified index in the collection. (Inherited from GrapeCity.Documents.Word.ContentCollection<T>)
    Public Property Gets the last item in the collection. (Inherited from GrapeCity.Documents.Word.ContentCollection<T>)
    Public PropertyGets the collection of OMathElement objects included in this range. (Inherited from GrapeCity.Documents.Word.RangeBase)
    Public PropertyGets the collection of OMathMatrixRow objects included in this range. (Inherited from GrapeCity.Documents.Word.RangeBase)
    Public PropertyGets the collection of OMathParagraph objects included in this range. (Inherited from GrapeCity.Documents.Word.RangeBase)
    Public PropertyGets the collection of OMath objects included in this range. (Inherited from GrapeCity.Documents.Word.RangeBase)
    Public PropertyGets the collection of OMathStruct objects included in this range. (Inherited from GrapeCity.Documents.Word.RangeBase)
    Public Property Gets the collection of paragraphs included in this range. (Inherited from GrapeCity.Documents.Word.RangeBase)
    Public Property Gets the parent bidirectional override where the range content is stored.  
    Public Property Gets the parent body where the range content is stored.  
    Public Property Gets the parent canvas shape where the range content is stored.  
    Public Property Gets the parent table cell where the range content is stored.  
    Public Property Gets the parent content control where the range content is stored.  
    Public Property Gets the parent content of a control where the range content is stored.  
    Public Property Gets the parent group shape where the range content is stored.  
    Public Property Gets the parent hyperlink where the range content is stored.  
    Public Property Gets the parent content object where the range content is stored.  
    Public Property Gets the parent Office Math zone where the range content is stored.  
    Public Property Gets the parent Office Math element where the range content is stored.  
    Public Property Gets the parent Office Math matrix row where the range content is stored.  
    Public Property Gets the parent Office Math paragraph where the range content is stored.  
    Public Property Gets the parent Office Math structure where the range content is stored.  
    Public Property Gets the parent paragraph where the range content is stored.  
    Public Property Gets the parent table row where the range content is stored.  
    Public Property Gets the parent run where the range content is stored.  
    Public Property Gets the parent section where the range content is stored.  
    Public Property Gets the parent shape where the range content is stored.  
    Public Property Gets the parent simple field where the range content is stored.  
    Public Property Gets the parent table where the range content is stored.  
    Public Property Gets the parent text frame where the range content is stored.  
    Public Property Gets the collection of pictures included in this range. (Inherited from GrapeCity.Documents.Word.RangeBase)
    Public Property Gets the collection of table rows included in this range. (Inherited from GrapeCity.Documents.Word.RangeBase)
    Public Property Gets the collection of text runs included in this range. (Inherited from GrapeCity.Documents.Word.RangeBase)
    Public Property Gets the collection of sections included in this range. (Inherited from GrapeCity.Documents.Word.RangeBase)
    Public Property Gets the collection of shapes included in this range. (Inherited from GrapeCity.Documents.Word.RangeBase)
    Public Property Gets the collection of simple fields included in this range. (Inherited from GrapeCity.Documents.Word.RangeBase)
    Public Property Gets the start marker of the range. (Inherited from GrapeCity.Documents.Word.RangeBase)
    Public Property Gets the collection of tables included in this range. (Inherited from GrapeCity.Documents.Word.RangeBase)
    Public Property Gets the text included in this range, as a string. (Inherited from GrapeCity.Documents.Word.RangeBase)
    Public Property Gets the collection of text frames included in this range. (Inherited from GrapeCity.Documents.Word.RangeBase)
    Public Property Gets the collection of texts included in this range. (Inherited from GrapeCity.Documents.Word.RangeBase)
    Public Property Gets the collection of unknown objects included in this range. (Inherited from GrapeCity.Documents.Word.RangeBase)
    Top
    Public Methods
     NameDescription
    Public Method Clears all content in this range, excluding bound markers. (Inherited from GrapeCity.Documents.Word.RangeBase)
    Public MethodClears formatting on content in this range.

    Note that this method does not remove formatting applied indirectly via the content hierarchy.

    (Inherited from GrapeCity.Documents.Word.RangeBase)
    Public Method Compares this range location with another range location. (Inherited from GrapeCity.Documents.Word.RangeBase)
    Public Method Copies this range to another range. (Inherited from GrapeCity.Documents.Word.RangeBase)
    Public MethodClears 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 MethodGets the collection of all drawing objects (derived from ShapeBase) included in this range. Drawing objects include Picture, Shape, and unknow shape types. (Inherited from GrapeCity.Documents.Word.RangeBase)
    Public Method Creates and returns a collection of content objects in the current range. The returned collection differs from enumerating on the current range itself in that it does not include objects that start before the current range's start and end after the current range's end. (Inherited from GrapeCity.Documents.Word.RangeBase)
    Public MethodOverloaded. Creates and returns an instance of PersistentRange with bounds on the specified objects.

    You should dispose the PersistentRange returned by this method when it is no longer needed. Failing to do so may lead to degraded performance.

    (Inherited from GrapeCity.Documents.Word.RangeBase)
    Public Method Inserts a built-in Office Math equation into the range. (Inherited from GrapeCity.Documents.Word.RangeBase)
    Public Method Moves this range to another range. (Inherited from GrapeCity.Documents.Word.RangeBase)
    Public Method Gets string representation of the range. (Inherited from GrapeCity.Documents.Word.RangeBase)
    Top
    See Also