GetAnnotCloudyEffect

Annotations and hotspot links

Description

GetAnnotCloudyEffect reads an annotation's border effect dictionary (ISO 32000-1 §12.5.4) and reports whether the border renders as a revision cloud.

Syntax

Delphi

Function TPDFlib.GetAnnotCloudyEffect(Index: Integer): Integer;

Parameters

Index is the 1-based index of the annotation on the selected page.

Return Values

Returns 0 when the annotation carries no cloudy border (no /BE entry, or its /S style is not /C), otherwise the cloud intensity clamped to 1..2 (a nonstandard cloudy /I of 0 reads as 1).

Remarks

Cloudy borders are written with SetAnnotCloudyEffect. Only Square, Circle, Polygon and FreeText annotations support the border effect dictionary.