FontCollectionIndexOf Method

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

Definition

Namespace: Winnovative
Assembly: WnvHtmlToPdf_NetCore (in WnvHtmlToPdf_NetCore.dll) Version: 18.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