Note: This API is now obsolete.

Gets the font with the specified index.

Namespace:  BitMiracle.Docotic.Pdf
Assembly:  BitMiracle.Docotic.Pdf (in BitMiracle.Docotic.Pdf.dll)

Syntax

C#
[ObsoleteAttribute("This method will be removed in the next release of Docotic.Pdf. Please use PdfDocument.GetFonts() method instead.")]
public PdfFont GetFont(
	int index
)
VB
<ObsoleteAttribute("This method will be removed in the next release of Docotic.Pdf. Please use PdfDocument.GetFonts() method instead.")>
Public Function GetFont ( 
	index As Integer
) As PdfFont

Parameters

index
Type: System.Int32
The zero-based index of the font to get.

Return Value

Type: PdfFont
The PdfFont with specified index.

Remarks

This method uses the GetFonts() method internally.

For performance reasons it's better to access document fonts in a sequential manner using the enumerator provided by the GetFonts() method.

See Also