Table of Contents

Method Color

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

Color(PdfColor, int)

Sets the color and opacity for this border.

public Border Color(PdfColor color, int opacity = 100)

Parameters

color PdfColor

The border color.

opacity int

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

Returns

Border

The updated border.

Exceptions

ArgumentNullException

color is null.