Returns the index within the collection of the element.
            
            
            
            
            
            
            
            'Declaration
 
Public Overloads Function IndexOf( _
   ByVal  As Font _
) As Integer
             
        
            
            public int IndexOf( 
   Font 
)
             
        
             
        
            Parameters
- font
 
- The drawing font.
 
            
            Return Value
The zero-based index of the first occurrence of element, if found, otherwise, -1.