Table of Contents

Method BackgroundColor

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

BackgroundColor(PdfColor, int)

Sets the background color and opacity.

public TextPageNumber BackgroundColor(PdfColor color, int opacity = 100)

Parameters

color PdfColor

The background color.

opacity int

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

Returns

TextPageNumber

The updated page number.

Exceptions

ArgumentNullException

color is null.