Table of Contents

Method FontColor

Namespace
BitMiracle.Docotic.Pdf.Layout
Assembly
BitMiracle.Docotic.Pdf.Layout.dll

FontColor(PdfColor, int)

Sets the font color and opacity.

public TextStyle FontColor(PdfColor color, int opacity = 100)

Parameters

color PdfColor

The font color.

opacity int

The opacity value between 0 (fully transparent) and 100 (fully opaque).

Returns

TextStyle

The copy of this style with the applied font color and opacity.

Exceptions

ArgumentNullException

color is null.