Note: This API is now obsolete.

Gets the action with the specified index.

Namespace:  BitMiracle.Docotic.Pdf
Assembly:  BitMiracle.Docotic.Pdf (in BitMiracle.Docotic.Pdf.dll)

Syntax

C#
[ObsoleteAttribute("This method will be removed in the next release of Docotic.Pdf. Please use PdfDocument.GetActions() method instead.")]
public PdfAction GetAction(
	int index
)
VB
<ObsoleteAttribute("This method will be removed in the next release of Docotic.Pdf. Please use PdfDocument.GetActions() method instead.")>
Public Function GetAction ( 
	index As Integer
) As PdfAction

Parameters

index
Type: System.Int32
The zero-based index of the action to get.

Return Value

Type: PdfAction
The PdfAction with specified index.

Remarks

This method uses the GetActions() method internally.

For performance reasons it's better to access document actions in a sequential manner using the enumerator provided by the GetActions() method.

See Also