DynaPDF Manual - Page 638

Previous Page 637   Index   Next Page 639

Function Reference
Page 638 of 787
SetAnnotIcon
Syntax:
LBOOL pdfSetAnnotIcon(
const PPDF* IPDF, // Instance pointer
UI32 Handle,
// Text annotation handle
TAnnotIcon Icon)
// New icon
typedef enum
{
aiComment,
aiHelp,
aiInsert,
aiKey,
aiNewParagraph,
aiNote,
aiParagraph,
aiUserDefined // Not usable
}TAnnotIcon;
The function sets or changes the icon of a text annotation. The parameter Handle must be a valid
handle of a Text annotation. See also TextAnnot().
Return values:
If the function succeeds the return value is 1. If the function fails the return value is 0.
SetAnnotLineEndStyle
Syntax:
LBOOL pdfSetAnnotLineEndStyle(
const PPDF* IPDF,
// Instance pointer
UI32 Handle,
// Handle of a Line or PolyLine annotation
TLineEndStyle Start, // End line style of the start point
TLineEndStyle End)
// End line style of the end point
typedef enum
{
leNone,
leButt,
leCircle,
leClosedArrow,
leDiamond,
leOpenArrow,
leRClosedArrow,
leROpenArrow,
leSlash,
leSquare
}TLineEndStyle;
The function sets or changes the line end styles of a Line or PolyLine annotation.
Return values:
If the function succeeds the return value is 1. If the function fails the return value is 0.
 

Previous topic: SetAnnotFlagsEx, SetAnnotHighlightMode

Next topic: SetAnnotLineDashPattern, SetAnnotMigrationState

Start Chat