TabStops
Inheritance: java.lang.Object, com.aspose.pdf.TabStops
All Implemented Interfaces: com.aspose.ms.System.ICloneable
public class TabStops extends Object implements com.aspose.ms.System.ICloneable
Represents a collection of {@code TabStop} objects.
Constructors
| Constructor | Description |
|---|---|
| TabStops | Initializes a new instance of the {@code TabStops} class. |
Methods
| Method | Description |
|---|---|
| add | Initializes a new instance of the {@code TabStop} class and add it to the TabStops collection. |
| add | Initializes a new instance of the {@code TabStop} class with specified position and add it to the TabStops collection. |
| add | Initializes a new instance of the {@code TabStop} class with specified position and leader type and add it to the TabStops collection. |
| add | Initializes a new instance of the {@code TabStop} class and add it to the TabStops collection. |
| deepClone | Clones a new {@code TabStops} objects. |
| get_Item | Gets a {@code TabStop} object from the collection according to TabStop index. |
| getCount | Returns tabStops Cound |
| isReadOnly | Gets value indicating that this {@code TabStops} instance is already attached to {@code TextFragment} and became readonly. |
| set_Item | Sets a {@code TabStop} object from the collection according to TabStop index. |
TabStops
public TabStops()
Initializes a new instance of the {@code TabStops} class.
add
public TabStop add()
Initializes a new instance of the {@code TabStop} class and add it to the TabStops collection.
Returns: The new {@code TabStop} object.
add
public TabStop add(float position)
Initializes a new instance of the {@code TabStop} class with specified position and add it to the TabStops collection.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| position | The position of the tab stop. |
Returns: The new {@code TabStop} object.
add
public TabStop add(float position, int leaderType)
Initializes a new instance of the {@code TabStop} class with specified position and leader type and add it to the TabStops collection.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| position | The position of the tab stop. | |
| leaderType | The leader type of the tab stop. |
Returns: The new {@code TabStop} object.
add
Initializes a new instance of the {@code TabStop} class and add it to the TabStops collection.
Returns: The new {@code TabStop} object.
deepClone
public Object deepClone()
Clones a new {@code TabStops} objects.
Returns: The new {@code TabStops} object.
get_Item
public TabStop get_Item(int index)
Gets a {@code TabStop} object from the collection according to TabStop index.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| index | Zero-based index of element in {@code TabStops} collection. |
Returns: {@code TabStop} object.
getCount
public int getCount()
Returns tabStops Cound
Returns: int value
isReadOnly
public boolean isReadOnly()
Gets value indicating that this {@code TabStops} instance is already attached to {@code TextFragment} and became readonly.
Returns: boolean value
set_Item
Sets a {@code TabStop} object from the collection according to TabStop index.