GetFont(String) Method

Definition

Namespace Broadside
Assembly Broadside.dll

Returns the font the page's resources name resourceName, as the Tf operator selects it.

public PdfFont? GetFont(string resourceName)

Parameters

resourceName
String

The key in the Font subdictionary of the page's (possibly inherited) resource dictionary, without the slash.

Returns

PdfFont
The font view, or null when the resources have no font of that name.

Remarks

ISO 32000-2 §7.8.3, Table 34 (Font), and §9.5. The same font dictionary always gives the same view.