SetTextGray

Text, Color

Description

Sets the current text color to a gray RGB value

Syntax

Delphi

Function TPDFlib.SetTextGray(Gray: Double): Integer;

Parameters

GrayA value from 0 to 1, clamped before writing

Return values

1The text color was updated