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

DynaPDF.IsColorPage

Checks whether a page is a color page or if all graphic elements of the page use black & white only.

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

MBS( "DynaPDF.IsColorPage"; PDF )

Parameters

Parameter Description Example value
PDF The PDF reference returned from DynaPDF.New. $pdf

Result

Returns OK or error.

Description

Checks whether a page is a color page or if all graphic elements of the page use black & white only.
If the parameter GrayIsColor is true, gray shades are treated as color. The page which should be checked must be opened with the function DynaPDF.EditPage beforehand.
Complex color spaces such as Lab, Separation, DeviceN, Colored Tiling Patterns, and Shadings are always treated as color. The function does not return when a color is set, the color must be used by an object.
If an object of the page uses a color, the return value is 1. If no object uses a color the return value is 0.

See also IsColorPage function in DynaPDF manual.

See also


DynaPDF.InsertMetafileEx   -   DynaPDF.IsEmptyPage

Feedback: Report problem or ask question.




Links
MBS FileMaker tutorial videos