PDFKit.NET 2.0 Class Library (.NET 2.0)

WidgetCollection.IndexOf Method 

Returns the index of the specified widget in the collection.

public int IndexOf(
   Widget widget
);

Parameters

widget
The widget to locate in this collection.

Return Value

The zero-based index of the item found in the collection; otherwise, -1.

See Also

WidgetCollection Class | TallComponents.PDF.Annotations.Widgets Namespace