Components All MacOS (Only) Windows (Only) Linux (Only, Not) iOS (Only, Not)
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old
12.3 12.4 12.5 13.0 13.1 13.2 13.3 13.4 13.5 14.0

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

💬 Ask a question or report a problem