DynaPDF Manual - Page 709

Previous Page 708   Index   Next Page 710

Function Reference
Page 709 of 874
A list can contain font names which are not available on the system. This causes no error. Non
existing fonts are simply ignored. This makes it possible to define suitable alternate font lists
statically. Such lists can then be loaded on demand.
After a list was filled with data it can be activated with ActivateAltFontList(). If a list is no longer
needed delete it with DeleteAltFontList().
Remarks:
This function is implemented in an Ansi and Unicode compatible variant. Since font names are
Unicode strings, the Unicode variant is preferred.
Please note that alternate font lists are used only, if complex text layout was enabled. This can be
done by setting the flag gfComplexText with SetGStateFlags().
Return values:
If the function succeeds the return value is 1. If the function fails the return value is 0.
SetAnnotBorderEffect
Syntax:
LBOOL pdfSetAnnotBorderEffect(
const PPDF* IPDF,
// Instance pointer
UI32 Handle,
// Annotation handle
TBorderEffect Value) // See below
typedef enum
{
beSolid,
// Default
beCloudy1, // Circle diameter 9 units
beCloudy2
// Circle diameter 17 units
}TBorderEffect;
The function sets or changes the border effect of a Square, FreeText, or Polygon annotation.
Circle annotations support the cloudy border effect too but this is not yet implemented.
Return values:
If the function succeeds the return value is 1. If the function fails the return value is 0.
SetAnnotBorderStyle
Syntax:
LBOOL pdfSetAnnotBorderStyle(
const PPDF* IPDF,
// Instance pointer
UI32 Handle,
// Annotation handle
TBorderStyle Style) // Border style
typedef enum
{
bsSolid
= 0, // Solid border
bsBevelled
= 1, // Bevelled border
bsInset
= 2, // Inset border
 

Previous topic: SetAllocBy, SetAltFonts

Next topic: SetAnnotBorderWidth