public abstract class BaseParagraph extends Object
Constructor and Description |
---|
BaseParagraph() |
Modifier and Type | Method and Description |
---|---|
int |
getHorizontalAlignment()
Gets a horizontal alignment of paragraph
|
MarginInfo |
getMargin()
Gets a outer margin for paragraph (for pdf generation)
|
boolean |
isInNewPage()
Gets or sets a bool value that force this paragraph generates at new page.
|
boolean |
isKeptWithNext()
Gets a bool value that indicates whether current paragraph remains in the same page along with next paragraph.
|
void |
setHorizontalAlignment(int value)
Sets a horizontal alignment of paragraph
|
void |
setInNewPage(boolean value) |
void |
setKeptWithNext(boolean value)
Sets a bool value that indicates whether current paragraph remains in the same page along with next paragraph.
|
void |
setMargin(MarginInfo value)
Sets a outer margin for paragraph (for pdf generation)
|
void |
setVerticalAlignment(int value)
Sets a vertical alignment of paragraph
|
public void setVerticalAlignment(int value)
public int getHorizontalAlignment()
public void setHorizontalAlignment(int value)
public MarginInfo getMargin()
public void setMargin(MarginInfo value)
public boolean isKeptWithNext()
public void setKeptWithNext(boolean value)
public boolean isInNewPage()
Gets or sets a bool value that force this paragraph generates at new page. Default is false.(for pdf generation)
public void setInNewPage(boolean value)
Copyright © 2014 Aspose. All Rights Reserved.