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

DynaPDF Manual - Page 507

Previous Page 506   Index   Next Page 508

Function Reference
Page 507 of 750
LoadFDFData
Syntax:
LBOOL pdfLoadFDFData(
const PPDF* IPDF,
// Instance pointer
const char* FileName, // File path of the FDF file
const char* Password, // Defined for future use, should be NULL
UI32 Flags)
// Defined for future use, should be 0
The function loads form data from a FDF file (Forms Data Format). The corresponding form must be
imported before the function can be used. See ImportPDFFile() for further information.
Return values:
If the function succeeds the return value is 1. If the function fails the return value is 0.
LoadFDFDataEx
Syntax:
LBOOL pdfLoadFDFDataEx(
const PPDF* IPDF,
// Instance pointer
const void* Buffer,
// FDF file buffer
UI32 BufSize,
// Buffer size if bytes
const char* Password, // Defined for future use, should be NULL
UI32 Flags)
// Defined for future use, should be 0
The function loads form data from a FDF file (Forms Data Format) like LoadFDFData but it accepts a
file buffer instead. The corresponding form must be imported before the function can be used. See
ImportPDFFile() for further information.
Return values:
If the function succeeds the return value is 1. If the function fails the return value is 0.
LockLayer
Syntax:
LBOOL pdfLockLayer(
const PPDF* IPDF, // Instance pointer
UI32 Layer)
// Handle of an OCG
The functions adds a layer to the list of locked layers. The state of a locked layer cannot be changed
through the user interface of a PDF viewer. However, the state of locked layers can still be changed
via Javascript or SetOCGState actions.
Returns values:
If the function succeeds the return value is 1. If the function fails the return value is 0.
 

Previous topic: LoadFontEx

Next topic: MoveTo