Namespace: Spire.Doc
Assembly: Spire.Doc (in Spire.Doc.dll) Version: 9.6.1.0 (9.6.1.3020)

Syntax

            
 C#  Visual Basic  Visual C++  F# 
public class Body : DocumentContainer, IBody, ICompositeObject, 
	IDocumentObject, [T:sprᧁ], [T:sprᧀ]
Public Class Body
	Inherits DocumentContainer
	Implements IBody, ICompositeObject, IDocumentObject, [T:sprᧁ], 
	[T:sprᧀ]
public ref class Body : public DocumentContainer, 
	IBody, ICompositeObject, IDocumentObject, [T:sprᧁ], [T:sprᧀ]
type Body =  
    class
        inherit DocumentContainer
        interface IBody
        interface ICompositeObject
        interface IDocumentObject
        interface [T:sprᧁ]
        interface [T:sprᧀ]
    end

Members

            
 All Members  Fields   Properties   Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
AddParagraph()()()()
Adds paragraph at end of section.
AddTable()()()()
Adds the table.
AddTable(Boolean)
Adds the table.
ChildObjects (Overrides DocumentObject..::..ChildObjects.)
Clone()()()() (Inherited from DocumentObject.)
CloneImpl()()()() (Overrides DocumentSerializable..::..CloneImpl()()()().)
Count
Gets count of child object.
(Inherited from DocumentContainer.)
CreateLayoutInfo()()()() (Overrides DocumentBase..::..CreateLayoutInfo()()()().)
Document
Gets the document.
(Inherited from OwnerHolder.)
DocumentObjectType
Gets the type of the document object.
(Overrides DocumentObject..::..DocumentObjectType.)
EnsureMinimum()()()()
If the text body has no paragraphs, creates and appends one Paragraph.
Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()()()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
FirstChild (Inherited from DocumentObject.)
FirstParagraph
Gets the First paragraph.
FormFields
Gets the form fields.
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetIndex(IDocumentObject) (Inherited from DocumentContainer.)
GetNextWidgetSibling()()()() (Inherited from DocumentObject.)
GetPreviousWidgetSibling()()()() (Inherited from DocumentObject.)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
InitXDLSHolder()()()() (Overrides DocumentSerializable..::..InitXDLSHolder()()()().)
InsertXHTML(String)
Inserts html at end of text body.
InsertXHTML(String, Int32)
Inserts html. Inserting begins from paragraph specified by paragraphIndex
InsertXHTML(String, Int32, Int32)
Inserts html. Inserting begins from paragraph specified by paragraphIndex, and paragraph item specified by paragraphItemIndex
IsComposite
Indicating whether this instance is composite.
(Inherited from DocumentObject.)
IsValidXHTML(String, XHTMLValidationType)
Validates the XHTML.
IsValidXHTML(String, XHTMLValidationType, String%)
Validates the XHTML.
LastChild (Inherited from DocumentObject.)
LastParagraph
Gets the last paragraph.
m_bodyItems
m_doc (Inherited from OwnerHolder.)
MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
NextSibling
Gets the next sibling.
(Inherited from DocumentObject.)
Owner
Gets the owner of this entity.
(Inherited from DocumentObject.)
Paragraphs
Gets inner paragraphs
PreviousSibling
Gets the previous sibling.
(Inherited from DocumentObject.)
ReadXmlAttributes(IXDLSAttributeReader) (Inherited from DocumentSerializable.)
ReadXmlContent(IXDLSContentReader) (Inherited from DocumentSerializable.)
RestoreReference(String, Int32) (Inherited from DocumentSerializable.)
Tables
Gets inner tables
ToString()()()()
Returns a String that represents the current Object.
(Inherited from Object.)
ToString(String)
Exports the name and index in container of the object into a string in the specified seperator.
(Inherited from DocumentObject.)
WidgetCollection (Overrides DocumentContainer..::..WidgetCollection.)
WriteXmlAttributes(IXDLSAttributeWriter) (Inherited from DocumentSerializable.)
WriteXmlContent(IXDLSContentWriter) (Inherited from DocumentSerializable.)
XDLSHolder (Inherited from DocumentSerializable.)

Inheritance Hierarchy

System..::..Object
  Spire.Doc..::..OwnerHolder
    Spire.Doc.Documents.XML..::..DocumentSerializable
      Spire.Doc..::..DocumentObject
        Spire.Doc..::..DocumentBase
          Spire.Doc..::..DocumentContainer
            Spire.Doc..::..Body
              Spire.Doc.Documents..::..SDTContent
              Spire.Doc..::..HeaderFooter
              Spire.Doc..::..TableCell

See Also