FontCollectionIndexOf Method

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

Definition

Namespace: EvoPdf
Assembly: EvoHtmlToPdf_NetCore (in EvoHtmlToPdf_NetCore.dll) Version: 11.0.0
C#
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