Click or drag to resize

TextParagraph Class

Represents a paragraph of a text.
Inheritance Hierarchy
System Object
Spire.Presentation PptObject
Spire.Presentation ParagraphProperties
Spire.Presentation TextParagraph

Namespace: Spire.Presentation
Assembly: Spire.Presentation (in Spire.Presentation.dll) Version: 10.4.2.0 (10.4.2.6046)
Syntax
public sealed class TextParagraph : ParagraphProperties

The TextParagraph type exposes the following members.

Constructors
Name Description
Public method TextParagraph
Initializes a new instance of the Paragraph class with default properties.
Public method TextParagraph(TextParagraph)
Copy constructor that initializes a new instance of a Paragraph class.
Top
Properties
Name Description
Public property Alignment
Gets or sets the text alignment in a paragraph. Read/write TextAlignmentType .
(Inherited from ParagraphProperties .)
Public property BulletChar
Gets or sets the bullet char of a paragraph. Read/write Char .
(Inherited from ParagraphProperties .)
Public property BulletColor
Gets or sets the color of a bullet. Read-only ColorFormat .
(Inherited from ParagraphProperties .)
Public property BulletFont
Gets or sets the bullet font of a paragraph. Read/write TextFont .
(Inherited from ParagraphProperties .)
Public property BulletNumber
Gets or sets the first number which is used for group of numbered bullets. Read/write Int16 .
(Inherited from ParagraphProperties .)
Public property BulletPicture
Gets a Picture used as a bullet in a paragraph. Read-only PictureShape .
(Inherited from ParagraphProperties .)
Public property BulletSize
Gets or sets the bullet size of a paragraph. Read/write Single .
(Inherited from ParagraphProperties .)
Public property BulletStyle
Gets or sets the style of a numbered bullet. Read/write NumberedBulletStyle .
(Inherited from ParagraphProperties .)
Public property BulletType
Gets or sets the bullet type of a paragraph. Read/write TextBulletType .
(Inherited from ParagraphProperties .)
Public property CustomBulletColor (Inherited from ParagraphProperties .)
Public property CustomBulletFont (Inherited from ParagraphProperties .)
Public property DefaultCharacterProperties
Gets default character properties of a paragraph. Read-only TextCharacterProperties .
(Inherited from ParagraphProperties .)
Public property DefaultTabSize
Gets or sets default tabulation size. Read/write Single .
(Inherited from ParagraphProperties .)
Public property Depth
Gets or sets a depth of a paragraph. Read/write Int16 .
(Inherited from ParagraphProperties .)
Public property EastAsianLineBreak
Indicates whether the East Asian line break is used in a paragraph. Read/write TriState .
(Inherited from ParagraphProperties .)
Public property FirstTextRange
First text range of text paragraph.
Public property FontAlignment
Gets or sets a font alignment in a paragraph. Read/write FontAlignmentType .
(Inherited from ParagraphProperties .)
Public property HangingPunctuation
Indicates whether the hanging punctuation is used in a paragraph. Read/write TriState .
(Inherited from ParagraphProperties .)
Public property HasBullet
Indicates whether a paragraph has a bullet. Read-only Boolean .
(Inherited from ParagraphProperties .)
Public property Indent
Gets or sets text indentation in a paragraph. Read/write Single .
(Inherited from ParagraphProperties .)
Public property LatinLineBreak
Indicates whether the Latin line break is used in a paragraph. Read/write TriState .
(Inherited from ParagraphProperties .)
Public property LeftMargin
Gets or sets the left margin in a paragraph. Read/write Single .
(Inherited from ParagraphProperties .)
Public property LineSpacing
Gets or sets the amount of space between base lines in a paragraph. Read/write Single .
(Inherited from ParagraphProperties .)
Public property ParagraphBulletColor
Gets the color format of a bullet of a paragraph. Read-only ColorFormat .
(Inherited from ParagraphProperties .)
Public property ParagraphProperties
Gets the formatting of paragraph. Readonly TextParagraphProperties .
Public property Parent
Reference to Parent object. Read-only.
(Inherited from PptObject .)
Public property RightMargin
Gets or sets the right margin in a paragraph. Read/write Single .
(Inherited from ParagraphProperties .)
Public property RightToLeft
Indicates whether the Right to Left writing is used in a paragraph. Read/write TriState .
(Inherited from ParagraphProperties .)
Public property SpaceAfter
Returns or sets the amount of space after the last line in each paragraph of the specified text, in points or lines. Read/write Single .
(Inherited from ParagraphProperties .)
Public property SpaceBefore
Returns or sets the amount of space before the first line in each paragraph of the specified text, in points or lines Read/write Single .
(Inherited from ParagraphProperties .)
Public property Tabs
Gets tabulations of a paragraph. Read-only TabStopCollection .
(Inherited from ParagraphProperties .)
Public property Text
Gets or sets the the plain text of a paragraph.
Public property TextRanges
Gets the collection of a text range. Readonly TextRangeCollection .
Top
Methods
Name Description
Public method AppendFromLatexMathCode
Add TextRnage From LatexMathCode.
Public method Dispose
Dispose object and free resources.
(Inherited from PptObject .)
Public method Equals (Overrides ParagraphProperties Equals(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 .)
Public method ToString
Returns a string that represents the current object.
(Inherited from Object .)
Top
See Also