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

DynaPDF.GetOpacity

Returns the opacity value used to draw the visible appearance of an annotation (requires Acrobat 5 or higher).

Component Version macOS Windows Linux Server iOS SDK
DynaPDF 4.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "DynaPDF.GetOpacity"; PDF )   More

Parameters

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

Result

Returns value or error.

Description

Returns the opacity value used to draw the visible appearance of an annotation (requires Acrobat 5 or higher).
A value of 1 determines that the annotation is completely opaque. If the value is zero, newly created annotations will be invisible. The opacity flag is not supported by all annotation types.
At time of publication the opacity property is used for annotations only. Later versions of DynaPDF use this property may be for other PDF objects too.

See also GetOpacity function in DynaPDF manual.

See also

This function checks for a license.

Created 18th August 2014, last changed 18th August 2014


DynaPDF.GetOCGUsageUserName - DynaPDF.GetOrientation