Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

DynaPDF Manual - Page 607

Previous Page 606   Index   Next Page 608

Function Reference
Page 607 of 750
Return values:
If the function succeeds the return value is the handle of the text annotation, a value greater or equal
zero. If the function fails the return value is a negative error code.
SetAnnotOpacity
Syntax:
LBOOL pdfSetAnnotOpacity(
const PPDF* IPDF, // Instance pointer
UI32 Handle,
// Annotation handle
double Value)
// New value must be in the range 0.0..1.0.
The function changes the opacity of a markup annotation. The function GetAnnotEx() or
GetPageAnnotEx() can be used to determine whether an annotation is a markup annotation.
Return values:
If the function succeeds the return value is 1. If the function fails the return value is 0.
SetAnnotOpenState
LBOOL pdfSetAnnotOpenState(
const PPDF* IPDF, // Instance pointer
UI32 Handle,
// Markup or PopUp annotation handle
LBOOL Open)
// New state
The function sets the open state of a markup or PopUp annotation. Markup annotations can be
connected with a PopUp annotation that displays additional comments in a window (like a Text
annotation). The open state can only be changed if the base annotation is connected with a PopUp
annotation. If the base annotation contains no PopUp annotation or if the handle refers to a non-
markup annotation the function does nothing.
All annotation types with exception of 3D, Link, Movie, Screen, PrinterMark, TrapNet, and
Watermark are markup annotations.
Return values:
If the function succeeds the return value is 1. If the function fails the return value is 0.
 

Previous topic: SetAnnotMigrationState

Next topic: SetAnnotQuadPoints