WithFont(PdfCanvasFont) Method

Definition

Assembly Broadside.Layout.dll

Returns a copy in another font (such as the bold of the same family).

public TextStyle WithFont(PdfCanvasFont font)

Parameters

font
PdfCanvasFont

The font.

Returns

TextStyle
The changed style.