Note: This API is now obsolete.

Gets the control 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.GetWidgets() method instead.")]
public PdfControl GetControl(
	int index
)
VB
<ObsoleteAttribute("This method will be removed in the next release of Docotic.Pdf. Please use PdfDocument.GetWidgets() method instead.")>
Public Function GetControl ( 
	index As Integer
) As PdfControl

Parameters

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

Return Value

Type: PdfControl
The PdfControl with specified index.

Remarks

This method uses the GetControls() method internally.

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

See Also