TabStop

Inheritance: java.lang.Object, com.aspose.pdf.TabStop

public class TabStop extends Object

Represents a custom Tab stop position in a paragraph.

Constructors

ConstructorDescription
TabStopInitializes a new instance of the {@code TabStop} class.
TabStopInitializes a new instance of the {@code TabStop} class with specified position.

Methods

MethodDescription
getAlignmentTypeGets or sets a {@code AlignmentType} enum that indicates the tab tab alignment type.
getLeaderTypeGets or sets a {@code TabLeaderType} enum that indicates the tab leader type.
getPositionGets or sets a float value that indicates the tab stop position.
isReadOnlyGets value indicating that this {@code TabStop} instance is already attached to {@code TextFragment} and became readonly
setAlignmentTypeGets or sets a {@code AlignmentType} enum that indicates the tab tab alignment type.
setLeaderTypeGets or sets a {@code TabLeaderType} enum that indicates the tab leader type.
setPositionSets a float value that indicates the tab stop position.

TabStop

public TabStop()

Initializes a new instance of the {@code TabStop} class.

TabStop

public TabStop(float position)

Initializes a new instance of the {@code TabStop} class with specified position.

Parameters:

ParameterTypeDescription
positionThe position of the tab stop.

getAlignmentType

public int getAlignmentType()

Gets or sets a {@code AlignmentType} enum that indicates the tab tab alignment type.

Returns: TabAlignmentType element @see TabAlignmentType

getLeaderType

public int getLeaderType()

Gets or sets a {@code TabLeaderType} enum that indicates the tab leader type.

Returns: TabLeaderType element @see TabLeaderType

getPosition

public float getPosition()

Gets or sets a float value that indicates the tab stop position.

Returns: float value

isReadOnly

public boolean isReadOnly()

Gets value indicating that this {@code TabStop} instance is already attached to {@code TextFragment} and became readonly

Returns: boolean value

setAlignmentType

public void setAlignmentType(int value)

Gets or sets a {@code AlignmentType} enum that indicates the tab tab alignment type.

Parameters:

ParameterTypeDescription
valueTabAlignmentType element @see TabAlignmentType

setLeaderType

public void setLeaderType(int value)

Gets or sets a {@code TabLeaderType} enum that indicates the tab leader type.

Parameters:

ParameterTypeDescription
valueTabLeaderType element @see TabLeaderType

setPosition

public void setPosition(float value)

Sets a float value that indicates the tab stop position.

Parameters:

ParameterTypeDescription
valuefloat value