Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.5   8.0   8.1   8.2   8.3   8.4   8.5   9.0   9.1   9.2    Statistic  


Sets RGB color.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
DynaPDF 3.5 Yes Yes Yes Yes Yes
MBS( "DynaPDF.Table.SetRGBColor"; Table; Row; Col; Type; Red; Green; Blue )   More


Parameter Description Example value
Table The identifier for the table. $Table
Row The row number. Range from 0 to DynaPDF.Table.GetNumRows-1. Pass -1 for all rows. 0
Col The column number. Range from 0 to DynaPDF.Table.GetNumCols-1. Pass -1 for all columns. 0
Type Which table color. Can be BackColor, BorderColor, GridHorzColor, GridVertColor, ImageColor or TextColor. "TextColor"
Red The red color component. Range is from 0 to 255. 0
Green The green color component. Range is from 0 to 255. 0
Blue The blue color component. Range is from 0 to 255. 0


Returns OK or error.


Sets RGB color.
See also DynaPDF.Table.SetColorFloat.


Set green text color:

MBS( "DynaPDF.Table.SetRGBColor"; $table; $Row; $Col; "TextColor"; 0; 255; 0 )

Set white border color:

MBS("DynaPDF.Table.SetRGBColor"; $table; -1; -1; "BorderColor"; 255; 255; 255)

See also

Example Databases

Created 18th August 2014, last changed 18th August 2014

DynaPDF.Table.SetPDF   -   DynaPDF.Table.SetRowHeight

Feedback: Report problem or ask question.

MBS Xojo PDF Plugins