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

DynaPDF Manual - Page 605

Previous Page 604   Index   Next Page 606

Function Reference
Page 605 of 750
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.
SetAnnotLineDashPattern
Syntax:
LBOOL pdfSetAnnotLineDashPattern(
const PPDF* IPDF,
// Instance pointer
UI32 Handle,
// Annotation handle
const float* Dash, // Dash array or NULL
UI32 NumValues)
// Number of array values (can be zero)
The function sets or deletes the line dash pattern of an annotation. The following annotation types
support line dash patterns:
atCircle
atInk
atLine
atPolygon
atPolyLine
atSquare
Return values:
If the function succeeds the return value is 1. If the function fails the return value is 0.
 

Previous topic: SetAnnotIcon

Next topic: SetAnnotMigrationState