DynaPDF Manual - Page 375

Previous Page 374   Index   Next Page 376

Function Reference
Page 375 of 839
This function returns the properties of a bookmark. The parameter Bmk is required it must not be
NULL. The member Style is a bitmask, maybe more than one constant is set at time, i.e. bmsBold and
bmsItalic. The destination types are described in detail at SetBookmarkDest().
Return values:
If the function succeeds the return value is 1 and the structure Bmk is filled with values. If the
function fails the return value is 0.
SI32 pdfGetBookmarkCount(
const PPDF* IPDF) // Instance pointer
The function returns the number of bookmarks defined in the document.
SI32 pdfGetBorderStyle(
const PPDF* IPDF) // Instance pointer
typedef enum
= 0, // Solid border
= 1, // Bevelled border
= 2, // Inset border
= 3, // Underline only
= 4, // Dashed border
bsUserDefined = 5
// Internal, cannot occur
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().
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
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 (obsolete), GetBookmarkEx

Next topic: GetCapHeight, GetCharacterSpacing