Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.0   6.1   6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3    Statistic  

DynaPDF.RGB

Calculates color value for RGB.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
DynaPDF 4.0 Yes Yes Yes Yes Yes

MBS( "DynaPDF.RGB"; Red; Green; Blue )

Parameters

Parameter Description Example value
Red The red color component from 0 to 255. 0
Green The green color component from 0 to 255. 255
Blue The blue color component from 0 to 255. 255

Result

Returns color value as number.

Description

Calculates color value for RGB.
For use with functions which take a color as a big number.
Calculation is Blue * 65536 + Green * 256 + Red.
Use it only if the color space is RGB.

Examples

Get a blue color value:

MBS( "DynaPDF.RGB"; 0; 0; 255 )

Example result: 16711680

Get a red color value:

MBS( "DynaPDF.RGB"; 255 )

Example result: 255

See also


DynaPDF.Print.SetDevNames   -   DynaPDF.ReadImageFormat

Feedback: Report problem or ask question.




Links
MBS FileMaker Plugins