FontCollectionIndexOf Method |
Returns the index of the specified font in the fonts collection.
Namespace: ExpertPdf.HtmlToPdf.PdfDocumentAssembly: ExpertPdf.HtmlToPdf (in ExpertPdf.HtmlToPdf.dll) Version: 11.0.0
Syntaxpublic int IndexOf(
PdfFont font
)
Public Function IndexOf (
font As PdfFont
) As Integer
Parameters
- font
- Type: ExpertPdf.HtmlToPdf.PdfDocumentPdfFont
The font to search in collection.
Return Value
Type:
Int32The index of font or -1 if the font does not exist.
See Also