GetFont(CosObject?) Method

Definition

Namespace Broadside
Assembly Broadside.dll

Returns the font view over a font dictionary of this document.

public PdfFont? GetFont(CosObject? font)

Parameters

font
CosObject

A font dictionary, or an indirect reference to one, such as an entry of a resource dictionary's Font subdictionary.

Returns

PdfFont
The view, of the type the dictionary's Subtype selects; null when font is not a dictionary and does not refer to one. The same dictionary always gives the same view instance.

Remarks

ISO 32000-2 §9.5, Table 108, and §7.8.3.