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

EventInfo Object (32-bit only)

EventInfo Object Properties

Property

Description

Read/Write

 

 

 

 

 

 

Application

Returns a reference to the Application Object (page

Read only

 

290), that this object is associated with.

 

 

 

 

ActivatePrintWindowEvent-

Returns/Sets a Boolean value indicating whether

Read/Write

Enabled

the ActivatePrintWindow (page 380), or

 

 

DeactivatePrintWindow (page 382), events of the

 

 

Window Object (page 379), are enabled.

 

 

 

 

ClosePrintWindowEvent-

Returns/Sets a Boolean value indicating whether

Read/Write

Enabled

the ClosePrintWindow (page 382), event of the

 

 

Window Object (page 379), is enabled.

 

 

 

 

GroupEventEnabled

Returns Boolean value indicating whether the

Read only

 

GroupTreeButtonClicked (page 385), ShowGroup

 

 

(page 389), or DrillOnGroup (page 383), events of

 

 

the Window Object (page 379), are enabled.

 

 

 

 

Parent

Reference to the Parent object (Report Object (page

Read only

 

349)).

 

 

 

 

PrintWindowButtonEvent-

Returns Boolean value indicating if events

Read only

Enabled

corresponding to preview window buttons for the

 

 

Window Object (page 379),are enabled.

 

 

 

 

ReadingRecordsEventEnabled

Returns Boolean value indicating if the

Read only

 

ReadingRecords (page 355), event of the Report

 

 

Object (page 349), is enabled.

 

 

 

 

Report

Reference to Report Object (page 349).

Read only

 

 

 

StartStopEventEnabled

Returns Boolean value indicating if the Start (page

Read only

 

356), and Stop (page 357), events of the Report

 

 

Object (page 349), are enabled.

 

 

 

 

ExportOptions Object

The ExportOptions Object provides properties and methods for retrieving information and setting options for exporting your report (that is, export format, destination, etc.). An ExportOptions Object is obtained from the ExportOptions property of the Report Object, Page 349.

Crystal Report Engine Object Model for the Automation Server

310

ExportOptions Object Properties

Property

Description

Read/Write

 

 

 

 

 

 

Application

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

Read only

 

that this object is associated with.

 

 

 

 

CharFieldDelimiter

Returns/Sets the character used to separate fields in

Read/Write

 

character separated text formats. This character delimits

 

 

every field in the file.

 

 

 

 

CharStringDelimiter

Returns/Sets the character used to separate strings in

Read/Write

 

character separated text formats. This character delimits

 

 

only string fields (numeric, date fields, etc., have no

 

 

delimiter).

 

 

 

 

DestinationDLLName

Returns the name of the DLL used to export the report to a

Read only

 

specific destination.

 

DestinationType

Returns/Sets CRExportDestinationType (see table below)

Read/Write

 

indicating the destination type for the exported report

 

 

(that is, disk, mail, etc.).

 

 

 

 

 

 

 

 

Constant

Value

 

 

 

 

 

 

 

crEDTDiskFile

1

 

 

 

 

crEDTMailMAPI

2

 

crEDTMailVIM

3

 

 

 

 

crEDTMicrosoftExchange

4

 

 

 

 

crEDTNoDestination

0

 

 

 

 

 

 

Property

Description

Read/Write

 

 

 

 

 

 

DiskFileName

Returns/Sets the file name if the report is exported to a

Read/Write

 

disk.

 

ExcelTabHasColumn

Returns/Sets Boolean value indicating whether when

Read/Write

Headings

exporting to Excel format, the spreadsheet will be

 

 

displayed including column headings. By default this

 

 

property is set to FALSE.

 

ExchangeDestination

Returns/Sets CRExchangeDestinationType (see table

Read/Write

Type

below) indicating the Exchange destination type for

 

 

reports exported to Exchange folders.

 

 

 

 

 

 

 

 

Constant

Value

 

 

 

 

 

 

 

crExchangePostDocMessage

1011

 

 

 

 

crExchangeFolderType

0

Crystal Report Engine Object Model for the Automation Server

311

ExchangeFolderPath

Returns/Sets the path of the Exchange folder for

Read/Write

 

reports exported to Exchange (that is,

 

 

“PersonalFolders@Inbox”).

 

 

 

 

ExchangePassword

Returns/Sets the password used to access the

Read/Write

 

Exchange folder for reports exported to the 16-bit

 

 

version of Exchange.

 

 

 

 

ExchangeProfile

Returns/Sets a user profile for accessing an

Read/Write

 

Exchange folder for reports exported to Exchange.

 

 

 

 

FormatDLLName

Returns the file name of the DLL corresponding to

Read only

 

the export format.

 

FormatType

Returns/Sets CRExportFormatType (see table

Read/Write

 

below) indicating the format type for the exported

 

 

report (that is, text, Excel, etc.).

 

 

 

 

 

 

 

 

Constant

Value

 

 

 

 

 

 

 

crEFTCharSeparatedValues

7

 

crEFTCommaSeparatedValues

5

 

crEFTCrystalReport

1

 

 

 

 

crEFTDataInterchange

2

 

 

 

 

crEFTExcel21

18

 

 

 

 

crEFTExcel30

19

 

crEFTExcel40

20

 

 

 

 

crEFTExcel50

21

 

 

 

 

crEFTExcel50Tabular

22

 

 

 

 

crEFTExplorer32Extend

25

 

crEFTHTML32Standard

24

 

 

 

 

crEFTLotus123WK3

13

 

 

 

 

crEFTLotus123WK1

12

 

 

 

 

crEFTLotus123WKS

11

 

 

 

 

crEFTNetScape20

26

 

crEFTNoFormat

0

 

 

 

 

crEFTODBC

23

 

 

 

 

crEFTPaginatedText

10

 

 

 

 

crEFTQuattroPro50

17

 

crEFTRecordStyle

3

 

 

 

 

crEFTRichText

4

 

 

 

 

crEFTTabSeparatedText

9

 

 

 

 

crEFTTabSeparatedValues

6

Crystal Report Engine Object Model for the Automation Server

312

Constant

Value

 

 

 

 

crEFTText

8

 

 

crEFTWordForDOS

15

crEFTWordForWindows

14

 

 

crEFTWordPerfect

16

 

 

Property

Description

Read/Write

 

 

 

 

 

 

HTMLFileName

Returns/set the HTML file name for reports

Read/Write

 

exported to HTML format.

 

 

 

 

MailBccList

Returns/Sets a Blind Carbon Copy (BCC) list for

Read/Write

 

reports e-mailed to a VIM e-mail account.

 

 

 

 

MailCcList

Returns/Sets a Carbon Copy (CC) list for reports e-

Read/Write

 

mailed.

 

 

 

 

MailMessage

Returns/Sets the e-mail message included with e-

Read/Write

 

mailed reports.

 

 

 

 

MailSubject

Returns/Sets the e-mail subject heading for reports

Read/Write

 

being e-mailed.

 

 

 

 

MailToList

Returns/Sets the To list for reports being e-mailed.

Read/Write

NumberOfLinesPer-Page

Returns/Sets the number of lines to appear per page

Read/Write

 

of the report for report formats that are paginated

 

 

(for example, HTM)L.

 

 

 

 

ODBCDataSource-Name

Returns/Sets the ODBC data source for reports

Read/Write

 

exported to ODBC.

 

ODBCDataSourcePassword

Returns/Sets the password used to access an ODBC

Read/Write

 

data source for reports exported to ODBC.

 

 

 

 

ODBCDataSource-UserID

Returns/Sets the user name used to access an ODBC

Read/Write

 

data source for reports exported to ODBC.

 

ODBCExportTable-Name

Returns/Sets the database table in the ODBC data

Read/Write

 

source that the report file exported to ODBC will be

 

 

appended to. You can also create a new table using

 

 

this property.

 

Parent

Reference to the Parent object (Report Object (page

Read only

 

349)).

 

 

 

 

Report

Reference to Report Object (page 349).

Read only

 

 

 

UseReportDateFormat

Returns/Sets whether the date format used in the

Read/Write

 

report should also be used in the exported report.

 

 

Can be used for Data Interchange Format (DIF),

 

 

Record Style Format, and comma, tab, or character

 

 

separated format.

 

Crystal Report Engine Object Model for the Automation Server

313

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