Gets or sets the color to be used for filling and all
other non-stroking painting operations.
Namespace:
BitMiracle.Docotic.Pdf
Assembly:
BitMiracle.Docotic.Pdf (in BitMiracle.Docotic.Pdf.dll)
Syntax
C#
public PdfColor Color { get; set; }
VB
Public Property Color As PdfColor
Get
Set
Property Value
Type:
PdfColorThe color to be used for filling and all
other non-stroking painting operations.
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.
See Also