PdfColor.Darken Method

Darkens the current PdfColor by the specified percentage.

Namespace:  BitMiracle.Docotic.Pdf
Assembly:  BitMiracle.Docotic.Pdf (in BitMiracle.Docotic.Pdf.dll)

Syntax

C#
public PdfColor Darken(
	int percent
)
VB
Public Function Darken ( 
	percent As Integer
) As PdfColor

Parameters

percent
Type: System.Int32
The percentage to darken the current PdfColor.

Return Value

Type: PdfColor
A new color created from the current PdfColor that is darkened by the specified percentage.

See Also