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.Pdf (in Select.Pdf.dll) Version: 20.2
Syntax
public int IndexOf(
	PdfFont font
)

Parameters

font
Type: SelectPdfPdfFont
The font to search in collection.

Return Value

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