BBjFormPage
Description
In BBj 4.00 and higher, the BBjFormPage object allows users to construct a page for a document.
Creation
BBjAPI > BBjPrinter > BBjForm > BBjFormPage
The BBjFormPage object is created through the following BBjForm object method:
Return Value |
Method |
---|---|
BBjFormPage |
|
BBjFormPage |
createPage(double conversion) |
Methods of BBjFormPage
Return Value |
Method |
---|---|
void |
add(BBjFormElement object) |
void |
clear() |
double |
|
byte[] | getBytesForFile(String file) |
double |
|
double |
|
point |
|
double |
|
double |
|
double |
|
double |
|
double |
getTextWidth(String text, Font font) getTextWidth(AttributedString text) |
double |
|
newFittedField(double x, double y, double width, double height) |
|
newFrame() |
|
newFrame(double x, double y, double width, double height) |
|
newImage() |
|
newImage(string URL, double x, double y, double width, double height) |
|
newLine() |
|
newLine(double x, double y, double width, double height) |
|
newParagraph(double x, double y, double width, double height) |
|
void |
setBottomMargin(double margin) |
void |
setLeftMargin(double margin) |
void |
setRightMargin(double margin) |
void |
setTopMargin(double margin) |
Remarks
All page coordinates are specified in points or units specified at page creation. A point is approximately 1/72 inch or 1/3 millimeter.
Constants
None.
Example
|
See Also
BBj Object Creation and Assignment
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.