TabStop
Inheritance: java.lang.Object, com.aspose.pdf.TabStop
public class TabStop extends Object
Represents a custom Tab stop position in a paragraph.
Constructors
| Constructor | Description |
|---|---|
| TabStop | Initializes a new instance of the {@code TabStop} class. |
| TabStop | Initializes a new instance of the {@code TabStop} class with specified position. |
Methods
| Method | Description |
|---|---|
| getAlignmentType | Gets or sets a {@code AlignmentType} enum that indicates the tab tab alignment type. |
| getLeaderType | Gets or sets a {@code TabLeaderType} enum that indicates the tab leader type. |
| getPosition | Gets or sets a float value that indicates the tab stop position. |
| isReadOnly | Gets value indicating that this {@code TabStop} instance is already attached to {@code TextFragment} and became readonly |
| setAlignmentType | Gets or sets a {@code AlignmentType} enum that indicates the tab tab alignment type. |
| setLeaderType | Gets or sets a {@code TabLeaderType} enum that indicates the tab leader type. |
| setPosition | Sets 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:
| Parameter | Type | Description |
|---|---|---|
| position | The 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:
| Parameter | Type | Description |
|---|---|---|
| value | TabAlignmentType element @see TabAlignmentType |
setLeaderType
public void setLeaderType(int value)
Gets or sets a {@code TabLeaderType} enum that indicates the tab leader type.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | TabLeaderType element @see TabLeaderType |
setPosition
public void setPosition(float value)
Sets a float value that indicates the tab stop position.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | float value |