Click or drag to resize

TextBodyPart Class

Represents a part of text body.
Inheritance Hierarchy
System Object
Spire.Doc.Documents TextBodyPart

Namespace: Spire.Doc.Documents
Assembly: Spire.Doc (in Spire.Doc.dll) Version: 13.2.3.0 (13.2.3.3046)
Syntax
public class TextBodyPart

The TextBodyPart type exposes the following members.

Constructors
Name Description
Public method TextBodyPart
Initializes a new instance of the TextBodyPart class.
Public method TextBodyPart(Document)
Initializes a new instance of the TextBodyPart class.
Public method TextBodyPart(TextBodySelection)
Initializes a new instance of the TextBodyPart class.
Public method TextBodyPart(TextSelection)
Initializes a new instance of the TextBodyPart class.
Top
Properties
Name Description
Public property BodyItems
Gets the body items.
Top
Methods
Name Description
Public method Clear
Clears this items in the body.
Public method Copy(TextBodySelection)
Copies text from selection.
Public method Copy(TextSelection)
Copies text from selection.
Public method Copy(BodyRegion, Boolean)
Copies the specified body item.
Public method Copy(ParagraphBase, Boolean)
Copies the specified p item.
Public method Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object .)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object .)
Public method GetHashCode
Serves as the default hash function.
(Inherited from Object .)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object .)
Protected method MemberwiseClone
Creates a shallow copy of the current Object .
(Inherited from Object .)
Public method PasteAfter(BodyRegion)
Pastes after specified item.
Public method PasteAfter(ParagraphBase)
Pastes after specified paragraph item.
Public method PasteAt(IBody, Int32)
Pastes at specified position.
Public method PasteAt(IBody, Int32, Int32)
Pastes at specified position.
Public method PasteAtEnd
Pastes at end of textbody.
Public method ToString
Returns a string that represents the current object.
(Inherited from Object .)
Top
See Also