Click or drag to resize

IBody Interface

Interface publish text body functionality

Namespace: Spire.Doc.Interface
Assembly: Spire.Doc (in Spire.Doc.dll) Version: 13.2.3.0 (13.2.3.3046)
Syntax
public interface IBody : ICompositeObject, IDocumentObject

The IBody type exposes the following members.

Properties
Name Description
Public property ChildObjects
Gets the child entities.
(Inherited from ICompositeObject .)
Public property Document
Gets document of this entity.
(Inherited from IDocumentObject .)
Public property DocumentObjectType
Gets the type of the document object.
(Inherited from IDocumentObject .)
Public property FormFields
Gets the form fields.
Public property IsComposite
Gets a value indicating whether this instance is composite.
(Inherited from IDocumentObject .)
Public property LastParagraph
Gets the last paragraph.
Public property NextSibling
Gets the next sibling.
(Inherited from IDocumentObject .)
Public property Owner
Gets owner of this document object.
(Inherited from IDocumentObject .)
Public property Paragraphs
Gets inner paragraphs.
Public property PreviousSibling
Gets the previous sibling.
(Inherited from IDocumentObject .)
Public property Tables
Gets inner tables.
Top
Methods
Name Description
Public method AddParagraph
Adds paragraph at the end of section.
Public method AddTable
Adds the table.
Public method Clone
Creates a duplicate of the document object.
(Inherited from IDocumentObject .)
Public method EnsureMinimum
If the text body has no paragraphs, creates and appends one Paragraph.
Public method GetNextWidgetSibling
Gets the next widget sibling.
(Inherited from IDocumentObject .)
Public method GetPreviousWidgetSibling
Gets the previous sibling.
(Inherited from IDocumentObject .)
Public method InsertXHTML(String)
Inserts html at end of text body.
Public method InsertXHTML(String, Int32)
Inserts html begins from paragraph specified by paragraphIndex.
Public method InsertXHTML(String, Int32, Int32)
Inserts html beginning from paragraph specified by paragraphIndex, and after paragraph item specified by paragraphItemIndex.
Top
See Also