Table of Contents

Property Color

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

Color

Gets or sets the color to be used for stroking.

public PdfColor? Color { get; set; }

Property Value

PdfColor

The current color to be used for stroking.

Remarks

Default value: black.

Setting this property may affect the Pattern property. If Pattern is an instance of a colored PdfTilingPattern then it will be set to null. If Pattern is an instance of an uncolored PdfTilingPattern and the color space of a color being set do not match the underlying color space of that uncolored pattern then Pattern will be set to null. If color space of a color being set and the underlying color space of the current uncolored tiling pattern do match then current pattern won't be changed.