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

SummaryFieldDefinitions Collection Properties

Property

Description

Read/Write

Restriction in

event handler

 

 

 

 

 

 

 

 

 

 

 

Count

Returns the number of summary fields in the collection.

Read only

None

 

 

 

 

Item

Returns SummaryFieldDefinition Object (page 121). Item

Read only

None

 

has an index parameter that is a numeric, 1-based index

 

 

 

(i.e., Item (1)). The items in the collection are indexed in

 

 

 

the order they were added to the report.

 

 

 

 

 

 

Parent

Reference to the Parent object CrossTabObject Object

Read only

None

 

(page 29) or Report Object (page 93)).

 

 

Remarks

Instead of using the Item property as shown, you can reference a summary field directly, for example, SummaryFieldDefinitions (1).

TextObject Object

The Text Object represents a text object found in a report. This object provides properties for retrieving information and setting options for a text object in your report.

TextObject Object Properties

Property

Description

Read/Write

Restriction in event handler

 

 

 

 

 

 

 

 

BackColor

Returns or sets object

Read/Write

Can be written only when

 

background color.

 

formatting idle or active.

 

 

 

 

BorderColor

Returns or sets the object

Read/Write

Can be written only when

 

border color.

 

formatting idle or active.

 

 

 

 

BottomLineStyle

Returns or sets bottom line

Read/Write

Can be written only when

 

style.

 

formatting idle or active.

CanGrow

Returns or sets can grow

Read/Write

Can be written only when

 

option.

 

formatting idle or active.

 

 

 

 

CloseAtPageBreak

Returns or sets close border on

Read/Write

Can be written only when

 

page break.

 

formatting idle or active.

Font

Returns or sets the standard

Read/Write

Can be written only when

 

OLE font of the text object.

 

formatting idle.

 

 

 

 

HasDropShadow

Returns or sets drop shadow.

Read/Write

Can be written only when

 

 

 

formatting idle or active.

Report Designer Component Object Model

124

Property

Description

Read/Write

Restriction in event handler

 

 

 

 

 

 

 

 

Height

Returns or sets object height.

Read/Write

Can be written only when

 

 

 

formatting idle or active.

HorAlignment

Returns or sets horizontal

Read/Write

Can be written only when

 

alignment.

 

formatting idle.

 

 

 

 

KeepTogether

Returns or sets keeping area

Read/Write

Can be written only when

 

together option.

 

formatting idle or active.

Kind

Returns CRObjectKind (see

Read only

None

 

table below) that specifies

 

 

 

what “kind” of object (i.e., box,

 

 

 

cross-tab, field).

 

 

Constant

Value

 

 

 

 

crBlobFieldObject

9

crBoxObject

4

 

 

crCrossTabObject

8

 

 

crFieldObject

1

 

 

crGraphObject

7

crLineObject

3

 

 

crMapObject

10

 

 

crOleObject

6

 

 

crSubreportObject

5

crTextObject

2

Property

Description

Read/Write

Restriction in event handler

 

 

 

 

 

 

 

 

Left

Returns or sets object upper

Read/Write

Can be written only when

 

left position.

 

formatting idle or active.

 

 

 

 

LeftLineStyle

Returns or sets left line style.

Read/Write

Can be written only when

 

 

 

formatting idle or active.

 

 

 

 

MaxNumberOfLines

Returns or sets the maximum

Read/Write

Can be written only when

 

number of line for a string

 

formatting idle or active.

 

memo field.

 

 

 

 

 

 

Name

Returns or sets area name.

Read/Write

Can be written only when

 

 

 

formatting idle.

Parent

Reference to the Parent object

Read only

None

 

(Section Object).

 

 

 

 

 

 

RightLineStyle

Returns or sets right line style.

Read/Write

Can be written only when

 

 

 

formatting idle or active.

Report Designer Component Object Model

125

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