DynaPDF Manual - Page 364
Previous Page 363 Index Next Page 365

Function Reference
Page 364 of 821
GetBookmarkCount
Syntax:
SI32 pdfGetBookmarkCount(
const PPDF* IPDF) // Instance pointer
The function returns the number of bookmarks defined in the document.
GetBorderStyle
Syntax:
SI32 pdfGetBorderStyle(
const PPDF* IPDF) // Instance pointer
typedef enum
{
bsSolid
= 0, // Solid border
bsBevelled
= 1, // Bevelled border
bsInset
= 2, // Inset border
bsUnderline
= 3, // Underline only
bsDashed
= 4, // Dashed border
bsUserDefined = 5
// Internal, cannot occur
}TBorderStyle;
The function returns the global border style which is used for newly created Interactive Form fields.
To determine the style of a specific field use the function GetFieldBorderStyle().
GetBuffer
Syntax:
char* pdfGetBuffer(
const PPDF* IPDF,
// Instance pointer
UI32 ADDR BufSize) // Buffer length in bytes
The function returns a pointer to the buffer of a memory based PDF file. A memory based PDF file
will be created if the parameter OutFile of the function CreateNewPDF() is an empty string or set to
NULL.
The parameter BufSize is set to the size of the buffer in bytes. The returned pointer is a pointer to the
original buffer; it must not be freed or changed. When the buffer is not longer needed call FreePDF()
to release the PDF file.
Previous topic: GetBookmark
Next topic: GetCapHeight, GetCharacterSpacing