PdfActionCollection

Inheritance: java.lang.Object

All Implemented Interfaces: java.lang.Iterable

public class PdfActionCollection implements Iterable<PdfAction>

Class describes list of actions.

Methods

MethodDescription
getCount()Gets count of actions.
get_Item(int index)Gets action by its index.
delete(int index)Remove action by index.
add(PdfAction action)Add action to action list.
iterator()Gets enumerator.
iterator_Rename_Namesake()Internal method

getCount()

public int getCount()

Gets count of actions.

Returns: int - int value

get_Item(int index)

public PdfAction get_Item(int index)

Gets action by its index.

Parameters:

ParameterTypeDescription
indexintAction index value.

Returns: PdfAction - PdfAction index if found; otherwise, throws

delete(int index)

public void delete(int index)

Remove action by index.

Parameters:

ParameterTypeDescription
indexintIndex of action to remove.

add(PdfAction action)

public void add(PdfAction action)

Add action to action list.

Parameters:

ParameterTypeDescription
actionPdfActionPdfAction instance Action to be added.

iterator()

public System.Collections.Generic.IGenericEnumerator<PdfAction> iterator()

Gets enumerator.

Returns: com.aspose.ms.System.Collections.Generic.IGenericEnumerator<com.aspose.pdf.PdfAction> - PDfAction enumerator.

iterator_Rename_Namesake()

public System.Collections.IEnumerator<PdfAction> iterator_Rename_Namesake()

Internal method

Returns: com.aspose.ms.System.Collections.IEnumerator<com.aspose.pdf.PdfAction> - internal object.