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 line.

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

Parameters

color PdfColor

The line color.

opacity int

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

Returns

Line

The updated line.

Remarks

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

Exceptions

ArgumentNullException

color is null.