Click or drag to resize
Pdf Library for .NET

PdfFontCollectionIndexOf Method

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

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

Parameters

font  PdfFont
The font to search in collection.

Return Value

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