Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Скачиваний:
191
Добавлен:
11.05.2015
Размер:
4.96 Mб
Скачать

Parameter

showControls

Boolean value indicating whether print controls will be showing in the preview

 

window. TRUE indicates default print controls are to be displayed in the preview

 

window. FALSE indicates no controls are to be displayed.

 

 

Returns

 

TRUE if the call is successful.

FALSE if the call fails.

Related Topics

PEShow...Page, Volume 2, Chapter 1

CRPEJob::StartJob

Use StartJob to start the processing of the print job and display the final output of that processing. This is the method that actually prints or exports the report.

Syntax

StartJob () RETURNING BOOLEAN

Returns

TRUE if the call is successful.

FALSE if the call fails.

Related Topics

PEStartPrintJob, Volume 2, Chapter 1

CRPEJob::TestNthTableConnectivity

Use TestNthTableConnectivity to determine if a valid connection exists to the database for the specified table in the report. This method is typically used if you plan to print at a later time, but you want to test now to make sure everything is in order for logging on to the database table.

Syntax

TestNthTableConnectivity (tableN SMALLINT) RETURNING BOOLEAN

Crystal Class Library for NewEra Reference

459

Parameter

tableN

Specifies the number of the table for which you want to test the connection settings. The first

 

table added to a report is numbered 0, the second is 1, etc.

 

 

Returns

TRUE if the database session, log on, and location information is all correct.

FALSE if one or more of the above are incorrect, or if the call fails.

Related Topics

PETestNthTableConnectivity, Volume 2, Chapter 1

CRPEJob::ZoomPreviewWindow

Syntax

ZoomPreviewWindow (level SMALLINT) RETURNING BOOLEAN

Parameter

level

The magnification level to which the preview window is to be “zoomed”. Use

 

one of the following values:

 

 

 

 

 

 

 

 

Value

Meaning

 

 

 

 

 

 

 

PEP_ZOOM_FULL_SIZE

Full page.

 

 

 

 

PEP_ZOOM_SIZE_FIT_ONE_SIDE

Fit one side (highest magnification).

 

 

 

 

PEP_ZOOM_SIZE_FIT_BOTH_SIDES

Fit both sides.

Remarks

This method “zooms” the preview window to the specified magnification level. Use this function when the report has been printed to a preview window and you need to set the magnification of the preview window to a specific level.

Returns

TRUE if the call is successful.

FALSE if the call fails.

Related Topics

PEZoomPreviewWindow, Volume 2, Chapter 1

Crystal Class Library for NewEra Reference

460

Соседние файлы в папке crystal