Breadcrumbs

SetTextColor

Specifies the color to be used for subsequent text output. The color can be specified as a grayscale or as a combination of RGB values. This property can be defined before creating the first page and is applied to all subsequent pages.

Syntax

  Func_FbMnFPDF_SetTextColor.bmp

C++
METHOD PUBLIC SetTextColor : BOOL
VAR_INPUT
    red : REAL;
    green : REAL := -1;
    blue : REAL := -1;
END_VAR

Parameters

Parameter

Description 

red 

If g and b are used, this parameter specifies the red component of the color, otherwise a grayscale (g and b then correspond to the same value as r). Valid color value between 0 and 255. 

green 

Green component of the color (value between 0 and 255) 

blue 

Blue component of the color (value between 0 and 255) 

Return value

Status of the call. 


Example



Requirements



Remarks