Search
PenCollection.IndexOf Method
See Also
 





Returns the index of the first occurrence of the specified Pen.

Namespace: MindFusion.Drawing
Package: MindFusion.Common

 Syntax

C#  Copy Code

public int IndexOf (
    Pen value
)

Visual Basic  Copy Code

Public Function IndexOf ( _
    value As Pen _
) As Integer

 Parameters

value
The Pen object to locate in the collection.

 Return Value

The zero-based index of the first occurrence of value within the entire collection, if found; otherwise, -1.

 See Also

PenCollection Members
PenCollection Class
MindFusion.Drawing Namespace