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

DynaPDF Manual - Page 333

Previous Page 332   Index   Next Page 334

Function Reference
Page 333 of 750
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: GetCharacterSpacing