TextBodyPart module

class TextBodyPart.TextBodyPart

Bases: SpireObject

Represents a text body part.

property BodyItems: BodyRegionCollection

Gets the body items of the text body part.

Clear()

Clears the text body part.

Copy

Copies the specified text selection to the text body part.

PasteAfter

Pastes the text body part after the specified body region.

PasteAt

Pastes the text body part at the specified index in the text body.

PasteAtEnd(textBody: IBody)

Pastes the text body part at the end of the specified text body.