TextParagraph

TextParagraph

概述

TextParagraph 是 Aspose.PDF 为 C++ 提供的 FOSS 中的一个类。

此类提供 18 种方法,用于在 C++ 程序中处理 TextParagraph 对象。可用的方法包括:AppendLine、FirstLineIndent、HorizontalAlignment、Margin、Position、Rectangle、SubsequentLinesIndent、VerticalAlignment。在安装 Aspose.PDF 为 C++ 提供的 FOSS 包后,所有公共成员均可被任何 C++ 应用程序访问。

方法

签名描述
AppendLine(line: std::string)在此 TextParagraph 实例上调用 AppendLine(line)。
AppendLine(line: std::string, lineSpacing: float)在此 TextParagraph 实例上调用 AppendLine(line, lineSpacing)。
AppendLine(line: std::string, textState: Aspose::Pdf::Text::TextState)在此 TextParagraph 实例上调用 AppendLine(line, textState)。
AppendLine(line: std::string, textState: Aspose::Pdf::Text::TextState, lineSpacing: float)在此 TextParagraph 实例上调用 AppendLine(line, textState, lineSpacing)。
HorizontalAlignment() → Aspose::Pdf::HorizontalAlignment在此 TextParagraph 实例上调用 HorizontalAlignment。
HorizontalAlignment(value: Aspose::Pdf::HorizontalAlignment)在此 TextParagraph 实例上调用 HorizontalAlignment(value)。
VerticalAlignment() → Aspose::Pdf::VerticalAlignment在此 TextParagraph 实例上调用 VerticalAlignment。
VerticalAlignment(value: Aspose::Pdf::VerticalAlignment)在此 TextParagraph 实例上调用 VerticalAlignment(value)。
Rectangle() → Aspose::Pdf::Rectangle在此 TextParagraph 实例上调用 Rectangle。
Rectangle(value: Aspose::Pdf::Rectangle)在此 TextParagraph 实例上调用 Rectangle(value)。
Position() → Aspose::Pdf::Text::Position在此 TextParagraph 实例上调用 Position。
Position(value: Aspose::Pdf::Text::Position)在此 TextParagraph 实例上调用 Position(value)。
Margin() → Aspose::Pdf::MarginInfo在此 TextParagraph 实例上调用 Margin。
Margin(value: Aspose::Pdf::MarginInfo)在此 TextParagraph 实例上调用 Margin(value)。
FirstLineIndent() → float在此 TextParagraph 实例上调用 FirstLineIndent。
FirstLineIndent(value: float)在此 TextParagraph 实例上调用 FirstLineIndent(value)。
SubsequentLinesIndent() → float在此 TextParagraph 实例上调用 SubsequentLinesIndent。
SubsequentLinesIndent(value: float)在此 TextParagraph 实例上调用 SubsequentLinesIndent(value)。

另请参阅

 中文