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.

Remarks

Read the Decoration section of the Containers and their content article for examples of using this method.

Exceptions

ArgumentNullException

color is null.