Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

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

This function checks for a license.

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


DynaPDF.GetDocInfoCount - DynaPDF.GetDrawDirection