THPDFPage.SetGrayColor Method
HotPDF Delphi PDF Component Developer Guide loslab Logo

 

THPDFPage.SetGrayColor

THPDFPage

 

Top  Previous  Next

Sets fill and stroke colors.

 

Delphi syntax:

procedure SetGrayColor ( GrayColor: Extended );

 

C++ syntax:

void __fastcall SetGrayColor ( Extended GrayColor);

 

 

Description:

Call SetGrayColor sets fill and stroke colors value. This function is equivalent to call two function SetGrayFillColor and SetGrayStrokeColor with same value.

GrayColor value from 0( black )  to  1( white ).

 

Example

 

See also: SetGrayFillColor, SetGrayStrokeColor, SetRGBColor, SetRGBFillColor, SetRGBStrokeColor.

 

Copyright©2007-2019 losLab.com