Aspose::Pdf::Text::TextParagraph class

TextParagraph class

Represents text paragraphs as multiline text object.

class TextParagraph : public System::Object

Methods

MethodDescription
AppendLine(const System::String&)Appends text line.
AppendLine(const System::String&, float)Appends text line.
AppendLine(const System::String&, const System::SharedPtr<TextState>&)Appends text line with text state parameters.
AppendLine(const System::String&, const System::SharedPtr<TextState>&, float)Appends text line with text state parameters.
AppendLine(const System::SharedPtr<TextFragment>&)Appends text line with text state parameters.
AppendLine(const System::SharedPtr<TextFragment>&, const System::SharedPtr<TextState>&)Appends text line with text state parameters.
AppendLine(const System::SharedPtr<TextFragment>&, const System::SharedPtr<TextState>&, float)Appends text line with text state parameters.
BeginEdit()Begins the editing of the TextParagraph.
EndEdit()Ends the editing of the TextParagraph.
get_FirstLineIndent() constGets subsequent lines indent value. If set to a non-zero value, it has an advantage over the FormattingOptions.SubsequentLinesIndent value.
get_FormattingOptions() constGets formatting options.
get_HorizontalAlignment() constGets horizontal alignment for the text inside paragrph’s Rectangle.
get_Justify()Gets value whether text is justified.
get_Margin() constGets the padding.
get_Position() constGets position of the paragraph.
get_Rectangle() constGets rectangle of the paragraph.
get_Rotation() constGets rotation angle in degrees.
get_SubsequentLinesIndent() constGets subsequent lines indent value. If set to a non-zero value, it has an advantage over the FormattingOptions.SubsequentLinesIndent value.
get_TextRectangle()Gets rectangle of the text placed to the paragraph.
get_VerticalAlignment() constGets vertical alignment for the text inside paragrph’s Rectangle.
set_FirstLineIndent(float)Sets subsequent lines indent value. If set to a non-zero value, it has an advantage over the FormattingOptions.SubsequentLinesIndent value.
set_FormattingOptions(const System::SharedPtr<TextFormattingOptions>&)Sets formatting options.
set_HorizontalAlignment(Aspose::Pdf::HorizontalAlignment)Sets horizontal alignment for the text inside paragrph’s Rectangle.
set_Justify(bool)Sets value whether text is justified.
set_Margin(const System::SharedPtr<MarginInfo>&)Sets the padding.
set_Position(const System::SharedPtr<Aspose::Pdf::Text::Position>&)Sets position of the paragraph.
set_Rectangle(const System::SharedPtr<Aspose::Pdf::Rectangle>&)Sets rectangle of the paragraph.
set_Rotation(double)Sets rotation angle in degrees.
set_SubsequentLinesIndent(float)Sets subsequent lines indent value. If set to a non-zero value, it has an advantage over the FormattingOptions.SubsequentLinesIndent value.
set_VerticalAlignment(Aspose::Pdf::VerticalAlignment)Sets vertical alignment for the text inside paragrph’s Rectangle.
TextParagraph()Creates TextParagraph object.

See Also