Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2   11.3   11.4    Statistic    FMM    Blog  

DynaPDF.GetDocUsesTransparency

Checks whether this document uses transparency.

Component Version macOS Windows Linux Server iOS SDK
DynaPDF 8.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "DynaPDF.GetDocUsesTransparency"; PDF { ; Flags } )   More

Parameters

Parameter Description Example Flags
PDF The PDF reference returned from DynaPDF.New. $pdf
Flags Flags for check. Optional

Result

Returns 1, 0 or error.

Description

Checks whether this document uses transparency.
Checks whether a PDF file uses native PDF Transparency (PDF 1.4). The file uses transparency when it contains soft masks, blend modes other than Normal, or fill or stroke alpha values smaller than 1.0.
The function checks all pages, templates, extended graphics states, images, annotations, and form fields.
If the file uses transparency the return value is 1. If it uses no transparency the return value is 0.

See also GetDocUsesTransparency function in DynaPDF manual.

See also

Created 8th May 2018, last changed 8th May 2018


DynaPDF.GetDocInfoCount - DynaPDF.GetDrawDirection

Feedback: Report problem or ask question.