BBjFormImage
Description
In BBj 4.00 and higher, the BBjFormImage object allows users to add an image to a page.
Creation
BBjAPI > BBjPrinter > BBjForm > BBjFormPage > BBjFormImage
The BBjFormImage object is created through the following BBjFormPage object method:
|
Return Value |
Method |
|---|---|
|
BBjFormImage |
newImage(string URL, double x, double y, double width, double height) |
Methods of BBjFormImage
|
Return Value |
Method |
|---|---|
|
void |
setURL(string url) |
|
void |
setFile(string file) |
Methods of BBjFormImage inherited from BBjFormElement
| Return Value | Method |
|---|---|
|
void |
add(BBjFormElement object) |
|
double |
|
|
Point |
|
|
Dimension |
|
|
double |
|
|
double |
|
|
double |
|
|
double |
|
|
double |
|
|
int |
|
|
double |
|
|
getPage() |
|
|
Point |
|
|
double |
|
|
Dimension |
getSize() |
|
double |
|
|
int |
|
|
double |
getWidth() |
|
double |
getX() |
|
double |
getY() |
|
int |
isChild() |
|
int |
|
|
int |
|
|
void |
remove(BBjFormElement object) |
|
void |
setBottomMargin(double margin) |
|
void |
setHeight(double height) |
|
void |
setHorizontalFill(int fill) |
|
void |
setHorizontalSticky(int sticky) |
|
void |
setLeftMargin(double margin) |
|
void |
setPosition(double x, double y) setPosition(Point point) |
|
void |
setRelative(int relative) |
|
void |
setRightMargin(double margin) |
|
void |
setSize(double width, double height) setSize(Dimension size) |
|
void |
setTopMargin(double margin) |
|
void |
setVerticalFill(int fill) |
|
void |
setVerticalSticky(int sticky) |
|
void |
setWidth(double width) |
Constants
None.
Example
|
See Also
BBj Object Creation and Assignment
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.