PdfActionCollection
Inheritance: java.lang.Object
All Implemented Interfaces: java.lang.Iterable
public class PdfActionCollection implements Iterable<PdfAction>
Class describes list of actions.
Methods
Method | Description |
---|---|
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:
Parameter | Type | Description |
---|---|---|
index | int | Action index value. |
Returns: PdfAction - PdfAction index if found; otherwise, throws
delete(int index)
public void delete(int index)
Remove action by index.
Parameters:
Parameter | Type | Description |
---|---|---|
index | int | Index of action to remove. |
add(PdfAction action)
public void add(PdfAction action)
Add action to action list.
Parameters:
Parameter | Type | Description |
---|---|---|
action | PdfAction | PdfAction 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.