Click or drag to resize
FontCollectionIndexOf Method
Returns the index of the specified font in the fonts collection.

Namespace: ExpertPdf.HtmlToPdf.PdfDocument
Assembly: ExpertPdf.HtmlToPdf (in ExpertPdf.HtmlToPdf.dll) Version: 11.0.0
Syntax
public int IndexOf(
	PdfFont font
)

Parameters

font
Type: ExpertPdf.HtmlToPdf.PdfDocumentPdfFont
The font to search in collection.

Return Value

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