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

ConstructorDescription
TabStopsInitializes a new instance of the {@code TabStops} class.

Methods

MethodDescription
addInitializes a new instance of the {@code TabStop} class and add it to the TabStops collection.
addInitializes a new instance of the {@code TabStop} class with specified position and add it to the TabStops collection.
addInitializes a new instance of the {@code TabStop} class with specified position and leader type and add it to the TabStops collection.
addInitializes a new instance of the {@code TabStop} class and add it to the TabStops collection.
deepCloneClones a new {@code TabStops} objects.
get_ItemGets a {@code TabStop} object from the collection according to TabStop index.
getCountReturns tabStops Cound
isReadOnlyGets value indicating that this {@code TabStops} instance is already attached to {@code TextFragment} and became readonly.
set_ItemSets 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:

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

ParameterTypeDescription
positionThe position of the tab stop.
leaderTypeThe 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:

ParameterTypeDescription
indexZero-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.