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.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5    Statistic  

DynaPDF.CMYK

Calculates color value for CMYK.

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

MBS( "DynaPDF.CMYK"; Cyan; Magenta; Yellow; Black )

Parameters

Parameter Description Example value
Cyan The cyan color component from 0 to 255. 0
Magenta The magenta color component from 0 to 255. 0
Yellow The yellow color component from 0 to 255. 255
Black The black color component from 0 to 255. 255

Result

Returns color value as number.

Description

Calculates color value for CMYK.
For use with functions which take a color as a big number.
Calculation is Cyan * 16777216 + Magenta * 65536 + Yellow * 256 + Black.
Use it only if the color space is CMYK.

Examples

Get a black color value:

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

See also

Example Databases


DynaPDF.Bezier23   -   DynaPDF.ChangeAnnotName

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins