PositionSettings

Inheritance: java.lang.Object, com.aspose.pdf.tagged.PositionSettings

public class PositionSettings extends Object

Position settings.

Constructors

ConstructorDescription
PositionSettings

Methods

MethodDescription
getHorizontalAlignmentGets or sets a horizontal alignment of paragraph.
getMarginGets or sets an outer margin for paragraph.
getVerticalAlignmentGets or sets a vertical alignment of paragraph.
isFirstParagraphInColumnGets or sets a bool value that indicates whether this paragraph will be at next column. Default is false.
isInLineParagraphGets or sets a paragraph is inline. Default is false.
isInNewPageGets or sets a bool value that force this paragraph generates at new page. Default is false.
isKeptWithNextGets or sets a bool value that indicates whether current paragraph remains in the same page along with next paragraph. Default is false.
setFirstParagraphInColumnGets or sets a bool value that indicates whether this paragraph will be at next column. Default is false.
setHorizontalAlignmentGets or sets a horizontal alignment of paragraph.
setInLineParagraphGets or sets a paragraph is inline. Default is false.
setInNewPageGets or sets a bool value that force this paragraph generates at new page. Default is false.
setKeptWithNextGets or sets a bool value that indicates whether current paragraph remains in the same page along with next paragraph. Default is false.
setMarginGets or sets an outer margin for paragraph.
setVerticalAlignmentGets 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:

ParameterTypeDescription
valueboolean 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:

ParameterTypeDescription
valueboolean 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:

ParameterTypeDescription
valueboolean 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:

ParameterTypeDescription
valueboolean value

setMargin

Gets or sets an outer margin for paragraph.

setVerticalAlignment

Gets or sets a vertical alignment of paragraph.