public class PositionSettings extends Object
Position settings.
Constructor and Description |
---|
PositionSettings() |
Modifier and Type | Method and Description |
---|---|
HorizontalAlignment |
getHorizontalAlignment()
Gets or sets a horizontal alignment of paragraph.
|
MarginInfo |
getMargin()
Gets or sets an outer margin for paragraph.
|
VerticalAlignment |
getVerticalAlignment()
Gets or sets a vertical alignment of paragraph.
|
boolean |
isFirstParagraphInColumn()
Gets or sets a bool value that indicates whether this paragraph will be at next column.
|
boolean |
isInLineParagraph()
Gets or sets a paragraph is inline.
|
boolean |
isInNewPage()
Gets or sets a bool value that force this paragraph generates at new page.
|
boolean |
isKeptWithNext()
Gets or sets a bool value that indicates whether current paragraph remains in the same page along with next paragraph.
|
void |
setFirstParagraphInColumn(boolean value)
Gets or sets a bool value that indicates whether this paragraph will be at next column.
|
void |
setHorizontalAlignment(HorizontalAlignment value)
Gets or sets a horizontal alignment of paragraph.
|
void |
setInLineParagraph(boolean value)
Gets or sets a paragraph is inline.
|
void |
setInNewPage(boolean value)
Gets or sets a bool value that force this paragraph generates at new page.
|
void |
setKeptWithNext(boolean value)
Gets or sets a bool value that indicates whether current paragraph remains in the same page along with next paragraph.
|
void |
setMargin(MarginInfo value)
Gets or sets an outer margin for paragraph.
|
void |
setVerticalAlignment(VerticalAlignment value)
Gets or sets a vertical alignment of paragraph.
|
public final HorizontalAlignment getHorizontalAlignment()
Gets or sets a horizontal alignment of paragraph.
public final void setHorizontalAlignment(HorizontalAlignment value)
Gets or sets a horizontal alignment of paragraph.
value
- HorizontalAlignment elementpublic final MarginInfo getMargin()
Gets or sets an outer margin for paragraph.
public final void setMargin(MarginInfo value)
Gets or sets an outer margin for paragraph.
value
- MarginInfo instancepublic final VerticalAlignment getVerticalAlignment()
Gets or sets a vertical alignment of paragraph.
public final void setVerticalAlignment(VerticalAlignment value)
Gets or sets a vertical alignment of paragraph.
value
- VerticalAlignment elementpublic final boolean isFirstParagraphInColumn()
Gets or sets a bool value that indicates whether this paragraph will be at next column. Default is false.
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.
value
- boolean valuepublic 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.
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.
value
- boolean valuepublic final boolean isInNewPage()
Gets or sets a bool value that force this paragraph generates at new page. Default is false.
public final void setInNewPage(boolean value)
Gets or sets a bool value that force this paragraph generates at new page. Default is false.
value
- boolean valuepublic final boolean isInLineParagraph()
Gets or sets a paragraph is inline. Default is false.
public final void setInLineParagraph(boolean value)
Gets or sets a paragraph is inline. Default is false.
value
- boolean valueCopyright © 2025 Aspose. All Rights Reserved.