ITabCollection

All Implemented Interfaces: com.aspose.slides.IGenericCollection

public interface ITabCollection extends IGenericCollection<ITab>

Represents a collection of tabs.

Methods

MethodDescription
get_Item(int index)Gets the element at the specified index.
add(double position, int align)Adds a Tab to the collection.
add(ITab value)Adds a Tab to the collection.
clear()Removes all elements from the collection.
removeAt(int index)Removes the element at the specified index of the collection.

get_Item(int index)

public abstract ITab get_Item(int index)

Gets the element at the specified index. Read-only ITab.

Parameters:

ParameterTypeDescription
indexint

Returns: ITab

add(double position, int align)

public abstract ITab add(double position, int align)

Adds a Tab to the collection.

Parameters:

ParameterTypeDescription
positiondoubleTab position.
alignintTab alignment.

Returns: ITab - Added tab.

add(ITab value)

public abstract int add(ITab value)

Adds a Tab to the collection.

Parameters:

ParameterTypeDescription
valueITabThe Tab object to be added at the end of the collection.

Returns: int - The index at which the tab was added.

clear()

public abstract void clear()

Removes all elements from the collection.

removeAt(int index)

public abstract void removeAt(int index)

Removes the element at the specified index of the collection.

Parameters:

ParameterTypeDescription
indexintThe zero-based index of the element to remove.