PositionSettings
Inheritance: java.lang.Object, com.aspose.pdf.tagged.PositionSettings
public class PositionSettings extends Object
Position settings.
Constructors
| Constructor | Description |
|---|---|
| PositionSettings |
Methods
| Method | Description |
|---|---|
| getHorizontalAlignment | Gets or sets a horizontal alignment of paragraph. |
| getMargin | Gets or sets an outer margin for paragraph. |
| getVerticalAlignment | Gets or sets a vertical alignment of paragraph. |
| isFirstParagraphInColumn | Gets or sets a bool value that indicates whether this paragraph will be at next column. Default is false. |
| isInLineParagraph | Gets or sets a paragraph is inline. Default is false. |
| isInNewPage | Gets or sets a bool value that force this paragraph generates at new page. Default is false. |
| isKeptWithNext | Gets or sets a bool value that indicates whether current paragraph remains in the same page along with next paragraph. Default is false. |
| setFirstParagraphInColumn | Gets or sets a bool value that indicates whether this paragraph will be at next column. Default is false. |
| setHorizontalAlignment | Gets or sets a horizontal alignment of paragraph. |
| setInLineParagraph | Gets or sets a paragraph is inline. Default is false. |
| setInNewPage | Gets or sets a bool value that force this paragraph generates at new page. Default is false. |
| setKeptWithNext | Gets or sets a bool value that indicates whether current paragraph remains in the same page along with next paragraph. Default is false. |
| setMargin | Gets or sets an outer margin for paragraph. |
| setVerticalAlignment | Gets or sets a vertical alignment of paragraph. |
PositionSettings
public PositionSettings()
getHorizontalAlignment
public final HorizontalAlignment getHorizontalAlignment()
Gets or sets a horizontal alignment of paragraph.
Returns: HorizontalAlignment element
getMargin
public final MarginInfo getMargin()
Gets or sets an outer margin for paragraph.
Returns: MarginInfo instance
getVerticalAlignment
public final VerticalAlignment getVerticalAlignment()
Gets or sets a vertical alignment of paragraph.
Returns: VerticalAlignment element
isFirstParagraphInColumn
public final boolean isFirstParagraphInColumn()
Gets or sets a bool value that indicates whether this paragraph will be at next column. Default is false.
Returns: boolean value
isInLineParagraph
public final boolean isInLineParagraph()
Gets or sets a paragraph is inline. Default is false.
Returns: boolean value
isInNewPage
public final boolean isInNewPage()
Gets or sets a bool value that force this paragraph generates at new page. Default is false.
Returns: boolean value
isKeptWithNext
public final boolean isKeptWithNext()
Gets or sets a bool value that indicates whether current paragraph remains in the same page along with next paragraph. Default is false.
Returns: boolean value
setFirstParagraphInColumn
public final void setFirstParagraphInColumn(boolean value)
Gets or sets a bool value that indicates whether this paragraph will be at next column. Default is false.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | boolean value |
setHorizontalAlignment
Gets or sets a horizontal alignment of paragraph.
setInLineParagraph
public final void setInLineParagraph(boolean value)
Gets or sets a paragraph is inline. Default is false.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | boolean value |
setInNewPage
public final void setInNewPage(boolean value)
Gets or sets a bool value that force this paragraph generates at new page. Default is false.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | boolean value |
setKeptWithNext
public final void setKeptWithNext(boolean value)
Gets or sets a bool value that indicates whether current paragraph remains in the same page along with next paragraph. Default is false.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | boolean value |
setMargin
Gets or sets an outer margin for paragraph.
setVerticalAlignment
Gets or sets a vertical alignment of paragraph.