Returns the index of the specified font in the fonts collection.

Namespace: EvoPdf
Assembly: evohtmltopdf (in evohtmltopdf.dll) Version: 4.12.0.0

Syntax

C#
public int IndexOf(
	PdfFont font
)
Visual Basic
Public Function IndexOf ( 
	font As PdfFont
) As Integer
Visual C++
public:
int IndexOf(
	PdfFont^ font
)

Parameters

font
Type: EvoPdf..::..PdfFont
The font to search in collection.

Return Value

Type: Int32
The index of font or -1 if the font does not exist.

See Also