Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   Crossplatform   Server (Not)   Client   Components   Old   Guides
New in version: 5.0   5.1   5.2   5.3   5.4   6.0   6.1   6.2   6.3   6.4   6.5   7.0   7.1    Statistic  

DynaPDF.RGB

Calculates color value for RGB.

Component: DynaPDF
Version: 4.0
Mac OS X: Yes
Windows: Yes
Server: Yes
FileMaker Cloud: 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 Real Studio PDF Plugins - Pfarrgemeinde Messdiener Nickenich