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

Remarks

Instead of using the Item property as shown, you can reference a database directly, for example, RunningTotalFieldDefinition(“Product ID”) or RunningTotalFieldDefinition(1).

Section Object

Report areas contain at least one section. The Section Object includes properties for accessing information regarding a section of your report. This object holds on to a report object, then releases the report object when it is destroyed.

Section Object Properties

Property

Description

Read/Write

Restriction in event handler

 

 

 

 

 

 

 

 

BackColor

Returns or sets the section

Read/Write

Can be written only when

 

background color.

 

formatting idle or active.

Height

Returns/Sets the height of the

Read/Write

Can be written only when

 

section in twips.

 

formatting idle or active.

 

 

 

 

KeepTogether

Returns or sets the option that

Read/Write

Can be written only when

 

indicates whether to keep the

 

formatting idle or active.

 

entire section on the same page

 

 

 

if it’s split into two pages.

 

 

 

 

 

 

MinumumHeight

Returns the minimum section

Read only

None

 

height.

 

 

Name

Returns or sets the name of the

Read/Write

Can be written only when

 

section.

 

formatting idle.

 

 

 

 

NewPageAfter

Returns or sets the option that

Read/Write

Can be written only when

 

indicates whether to start a

 

formatting idle or active.

 

new page after the current

 

 

 

section.

 

 

 

 

 

 

NewPageBefore

Returns or sets the option that

Read/Write

Can be written only when

 

indicates whether to start a

 

formatting idle or active.

 

new page before the current

 

 

 

section.

 

 

 

 

 

 

Number

Returns the number associated

Read only

None

 

with the section in the area

 

 

 

(i.e., if the first section in an

 

 

 

area, the number returned is 1).

 

 

 

 

 

 

Parent

Reference to the Parent object

Read only

None

 

(Area Object (page 22)).

 

 

Report Designer Component Object Model

107

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