[]
        
(Showing Draft Content)

C1.C1Preview.EmbeddedFontCollection.IndexOf

IndexOf Method

IndexOf(EmbeddedFont)

Returns the index of the specified font in the collection.

Declaration
public int IndexOf(EmbeddedFont embeddedFont)
Parameters
Type Name Description
EmbeddedFont embeddedFont

The EmbeddedFont to search for.

Returns
Type Description
int

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