Method FontColor
- Namespace
- BitMiracle.Docotic.Pdf.Layout
- Assembly
- BitMiracle.Docotic.Pdf.Layout.dll
FontColor(PdfColor, int)
Sets the font color.
public TextPageNumber FontColor(PdfColor color, int opacity = 100)
Parameters
colorPdfColorThe font color.
opacityintThe opacity value between
0(fully transparent) and100(fully opaque).
Returns
- TextPageNumber
The updated page number.
Exceptions
- ArgumentNullException
colorisnull.