FontCollectionIndexOf Method |
Returns the index of the specified font in the fonts collection.
Namespace:
ExpertPdf.HtmlToPdf.PdfDocument
Assembly:
ephtmltopdf (in ephtmltopdf.dll) Version: 17.0.0
Syntax public 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