TextParagraph
Inheritance: java.lang.Object
public class TextParagraph
Represents PUB text paragraph
Constructors
| Constructor | Description |
|---|---|
| TextParagraph(List | Constructor |
Methods
| Method | Description |
|---|---|
| getTextParts() | Text groups |
| getStyle() | Style of paragraph |
TextParagraph(List textParts, ParagraphStyle style)
public TextParagraph(List<TextGroup> textParts, ParagraphStyle style)
Constructor
Parameters:
| Parameter | Type | Description |
|---|---|---|
| textParts | java.util.List<com.aspose.pub.TextGroup> | Text groups |
| style | ParagraphStyle | Paragraph’s style |
getTextParts()
public final TextGroup[] getTextParts()
Text groups
Returns: com.aspose.pub.TextGroup[] - array of TextGroup instances
getStyle()
public final ParagraphStyle getStyle()
Style of paragraph
Returns: ParagraphStyle - ParagraphStyle instance