PrintDocument for WPF | ComponentOne
C1.WPF.PrintDocument.4.5.2 Assembly / C1.C1Preview Namespace / EmbeddedFontCollection Class / IndexOf Method
The EmbeddedFont to search for.

In This Topic
    IndexOf Method (EmbeddedFontCollection)
    In This Topic
    Returns the index of the specified font in the collection.
    Syntax
    'Declaration
     
    Public Function IndexOf( _
       ByVal embeddedFont As EmbeddedFont _
    ) As Integer
    public int IndexOf( 
       EmbeddedFont embeddedFont
    )

    Parameters

    embeddedFont
    The EmbeddedFont to search for.

    Return Value

    The index of embeddedFont in the current collection, or -1 if it was not found.
    See Also