Class TextParagraph

Class TextParagraph

Namespace: Aspose.Cells.Drawing.Texts
Assembly: Aspose.Cells.dll (25.2.0)

Represents the text paragraph setting.

public class TextParagraph : FontSetting

Inheritance

objectFontSettingTextParagraph

Inherited Members

FontSetting.SetWordArtStyle(PresetWordArtStyle), FontSetting.Type, FontSetting.StartIndex, FontSetting.Length, FontSetting.Font, FontSetting.TextOptions, object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Properties

AlignmentType

Gets and sets the text horizontal alignment type of the paragraph.

public TextAlignmentType AlignmentType { get; set; }

Property Value

TextAlignmentType

Bullet

Gets the bullet.

public Bullet Bullet { get; }

Property Value

Bullet

Children

Gets all text runs in this paragraph. If this paragraph is empty, return paragraph itself.

public FontSetting[] Children { get; }

Property Value

FontSetting[]

DefaultTabSize

Gets and sets the default size for a tab character within this paragraph.

public double DefaultTabSize { get; set; }

Property Value

double

FirstLineIndent

Specifies the indent size that will be applied to the first line of text in the paragraph.

public double FirstLineIndent { get; set; }

Property Value

double

FontAlignType

Determines where vertically on a line of text the actual words are positioned. This deals with vertical placement of the characters with respect to the baselines.

public TextFontAlignType FontAlignType { get; set; }

Property Value

TextFontAlignType

IsEastAsianLineBreak

Specifies whether an East Asian word can be broken in half and wrapped onto the next line without a hyphen being added.

public bool IsEastAsianLineBreak { get; set; }

Property Value

bool

IsHangingPunctuation

Specifies whether punctuation is to be forcefully laid out on a line of text or put on a different line of text.

public bool IsHangingPunctuation { get; set; }

Property Value

bool

IsLatinLineBreak

Specifies whether a Latin word can be broken in half and wrapped onto the next line without a hyphen being added.

public bool IsLatinLineBreak { get; set; }

Property Value

bool

LeftMargin

Specifies the left margin of the paragraph.

public double LeftMargin { get; set; }

Property Value

double

LineSpace

Gets and sets the amount of vertical white space that will be used within a paragraph.

public double LineSpace { get; set; }

Property Value

double

LineSpaceSizeType

Gets and sets the amount of vertical white space that will be used within a paragraph.

public LineSpaceSizeType LineSpaceSizeType { get; set; }

Property Value

LineSpaceSizeType

RightMargin

Specifies the right margin of the paragraph.

public double RightMargin { get; set; }

Property Value

double

SpaceAfter

Gets and sets the amount of vertical white space that will be present after a paragraph.

public double SpaceAfter { get; set; }

Property Value

double

SpaceAfterSizeType

Gets and sets the amount of vertical white space that will be present after a paragraph.

public LineSpaceSizeType SpaceAfterSizeType { get; set; }

Property Value

LineSpaceSizeType

SpaceBefore

Gets and sets the amount of vertical white space that will be present before a paragraph.

public double SpaceBefore { get; set; }

Property Value

double

SpaceBeforeSizeType

Gets and sets the amount of vertical white space that will be present before a paragraph.

public LineSpaceSizeType SpaceBeforeSizeType { get; set; }

Property Value

LineSpaceSizeType

Stops

Gets tab stop list.

public TextTabStopCollection Stops { get; }

Property Value

TextTabStopCollection

Type

Gets the type of text node.

public override TextNodeType Type { get; }

Property Value

TextNodeType