Breadcrumbs

SetFillColor

Specifies the color to be used for subsequent fill operations (filled rectangles and cell backgrounds). The color can be specified in grayscale or as a combination of RGB values. This method can be called before creating the first page. The settings are applied to each subsequent page.

Syntax

  Func_FbMnFPDF_SetFillColor.bmp

C++
METHOD PUBLIC SetFillColor : 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