Goto:
4C Home
|
4C Docs
|
4C External Libraries Home
|
FCPdf Home
|
FCPdf Function List
DocAlloc()
DocAlloc()
Purpose:
-
FCPdf::DocAlloc() creates a new empty pdf document and returns
an identifier to it.
Usage:
-
-
docident = FCPdf::DocAlloc();
Arguments:
-
None
Returns:
-
integer <docident>
>= 0 - A document identifier used in other FCPdf library calls that
need a docident.
< 0 - Error
Where Used:
-
FCPdf::DocAlloc() can be called from anywhere.
Example:
-
Description:
-
FCPdf::DocAlloc() creates a new empty pdf document and returns
an identifier to it.
Bugs/Features/Comments:
-
-
This function is an alias for FCPdf::DocNew().
The 2 functions are 100% equivalent.
-
All resources used by an FCPdf document must be freed by the application
by calling one of FCPdf:DocFree() or FCPdf::DocFreeAll()
See Also:
See Also
-
FCPdf Function List
Back to Top