Click or drag to resize
Pdf Library for .NET

PdfFontCollectionIndexOf Method

Returns the zero-based index of the specified font, or -1 if not found.

Namespace: SelectPdf.Universal
Assembly: SelectPdf.HtmlToPdf.Universal (in SelectPdf.HtmlToPdf.Universal.dll) Version: 26.4
Syntax
public int IndexOf(
	PdfFont font
)

Parameters

font  PdfFont
The font to locate.

Return Value

Int32
The zero-based index of the font, or -1 if it is not in the collection.
See Also