vpxPrint Active-X Methods and properties
<< Click to Display Table of Contents >> Navigation: vpxPrint Active-X > vpxPrint Active-X Methods and properties |
Method |
Parameters |
Action |
File name: string |
Open the file for viewing |
|
Print() |
|
Prints the report. Same action as clicking on the print button : opens the printer dialog-box. |
PrintCurrentPage() |
|
Prints the current displayed page with no dialog. |
ExportFile() |
|
Export. Same action as clicking on the export button. |
Fax() |
Fax number: string, Fax object: string |
Fax (DelrinaFax) the report with the given number and object. |
Send() |
|
Displays the MAPI mail sending dialog box. |
Find() |
|
Displays the search dialog box. |
GotoPage() |
Page number:integer |
Directs vpxPrint to go to the desired page. Alternative to setting the 'page' property. |
ZoomTowidth() |
|
Zoom to page width |
ZoomtoHeight() |
|
Zoom to page height |
ZoomToFit() |
|
Zoom to fit the whole page on the screen. |
RefreshxPrint() |
|
To use when overlapping the Active-x control area with a message dialog box, this method redraws the vpxPrint control frame. |
|
Creates the *.xpf file. |
|
AboutBox() |
|
Displays the vpxPrint license window. |
Property |
Type |
Access |
Value |
statusBar |
Logical |
R/W |
View/Hide the vpxPrint status bar when setting this value to TRUE/FALSE. |
toolBar |
Logical |
R/W |
View/Hide the vpxPrint tool bar when setting this value to TRUE/FALSE. |
Color |
Integer |
R/W |
RGB value: Blue value + Green value x 256 + Red value x 256 x 256 |
Page |
Integer |
R/W |
Current page number. When setting the 'page' property, vpxPrint displays the new page according to the specified value. |
NumberofPages |
Integer |
R |
Total page count of the current report. |
Zoom |
Integer |
R/W |
Zoom value from 20 to 400. |
Event |
Parameters |
When |
onChangePage |
Page num: integer |
Occurs on page change. |