ITabCollection

All Implemented Interfaces: com.aspose.slides.IGenericCollection

public interface ITabCollection extends IGenericCollection<ITab>

Represents a collection of tabs.

Methods

Method Description
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:

Parameter Type Description
index int

Returns: ITab

add(double position, int align)

public abstract ITab add(double position, int align)

Adds a Tab to the collection.

Parameters:

Parameter Type Description
position double Tab position.
align int Tab alignment.

Returns: ITab - Added tab.

add(ITab value)

public abstract int add(ITab value)

Adds a Tab to the collection.

Parameters:

Parameter Type Description
value ITab The 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:

Parameter Type Description
index int The zero-based index of the element to remove.