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

In This Topic
    Body Class Members
    In This Topic

    The following tables list the members exposed by Body.

    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 top level children of this body.  
    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 ContentObject.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 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 PropertyGets the BodyType of this body.  
    Public Property Gets the collection of unknown objects included in this range. (Inherited from GrapeCity.Documents.Word.RangeBase)
    Top
    Public Methods
     NameDescription
    Public MethodAdds a ContentControl to the end of the current body.  
    Public MethodOverloaded. Adds a Paragraph to the end of the current body.  
    Public MethodOverloaded. Adds a Table to the end of the current body.  
    Public MethodOverridden.  Clears all content objects in this body.  
    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 Method Gets the collection of this body's children of a specified type.  
    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