WithColor(Nullable) Method

Definition

Assembly Broadside.Layout.dll

Returns a copy in another fill colour.

public TextStyle WithColor(PdfColor? color)

Parameters

color
Nullable<PdfColor>

The colour, or null for the default black. A pattern colour is not accepted.

Returns

TextStyle
The changed style.