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

PrinterInfo Object Properties

Property

Description

Read/Write

 

 

 

 

 

 

Application

Returns a reference to the Application Object (page 290), that

Read only

 

this object is associated with.

 

 

 

 

DriverName

Returns the name of the printer driver for the printer that is

Read only

 

selected in the report. If the default printer is used, no data is

 

 

returned.

 

 

 

 

Parent

Reference to the Parent object (Report Object (page 349)).

Read only

 

 

 

PortName

Returns the name of the printer port. If the default printer is

Read only

 

used, no data is returned.

 

 

 

 

PrinterName

Returns the name of the printer. If the default printer is used,

Read only

 

no data is returned.

 

 

 

 

Report

Reference to Report Object (page 349).

Read only

PrintingStatus Object

The PrintingStatus Object provides properties for retrieving information and setting options for the printing status of a report (that is, number of pages, latest page to be printed, etc.). A PrintingStatus Object is obtained from the PrintingStatus property of the Report Object, Page 349.

PrintingStatus Object Properties

Property

Description

Read/Write

 

 

 

 

 

 

Application

Returns a reference to the Application Object (page 290), that

Read only

 

this object is associated with.

 

 

 

 

LastestPageNumber

Returns the number of the last page that is currently

Read only

 

available. Once the printing is complete, this value is the

 

 

number of the last page. You will receive an incorrect result if

 

 

you try to obtain this value immediately after using a

 

 

method such as ShowNextPage, Page 378, that causes a

 

 

change to the preview window. Call the Visual Basic

 

 

function, DoEvents (see Visual Basic documentation for more

 

 

information) before requesting the latest page number.

 

 

 

 

NumberOfPages

Returns the number of pages in the report.

Read only

 

 

 

Parent

Reference to the Parent object (Report Object (page 349)).

Read only

 

 

 

Crystal Report Engine Object Model for the Automation Server

346

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