BBjPrintPreview Methods
Creation Path
BBjAPI > BBjSysGui > BBjWindow > BBjPrintPreview
Description
In BBj 7.0 and higher, the BBjPrintPreview object provides methods for previewing print jobs.
Implemented Interfaces
Creation
A BBjPrintPreview object is created through the following BBjWindow methods:
Return Value |
Method |
BBjPrintPreview |
addPrintPreview(int ID, number x, number y, number width, number height, string title, string flags) |
Methods of BBjPrintPreview
Return Value |
Method |
void |
|
void |
|
void |
|
int |
getIndex() |
int |
|
double |
getZoom() |
void |
lastPage() |
void |
nextPage() |
void |
|
void |
|
void |
scrollUp() |
void |
setIndex(int pageNumber) |
void |
setZoom(double zoomAmount) |
void |
twoPage() |
Methods of BBjPrintPreview implemented for DropTarget
Return Value | Method |
---|---|
int | getDropActions() |
void | setDropActions(int actions) |
BBjVector | getDropTypes() |
void | setDropTypes(BBjVector types) |
Methods of BBjPrintPreview inherited from BBjControl
Events
Callback Code |
Object-oriented Event |
Read Record Event |
Code |
ON_DROP_TARGET_DROP |
D |
||
ON_GAINED_FOCUS |
f |
||
ON_LOST_FOCUS |
f |
||
ON_MOUSE_ENTER |
E |
||
ON_MOUSE_EXIT |
E |
||
ON_POPUP_REQUEST |
r |
||
ON_RIGHT_MOUSE_DOWN |
R |
Remarks
None.
Constants inherited from BBjControl
Example
|
See Also
CALLBACK Verb - Register BBj Subroutine
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.