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

Property

Description

Read/Write

Restriction in event handler

 

 

 

 

 

 

 

 

XScaling

Returns or sets width

Read/Write

Can be written only when

 

scaling factor. E.g. 1

 

formatting idle.

 

means 100%, 2 means

 

 

 

200%, 0.5 means 50% etc.

 

 

 

The scaling factor may

 

 

 

range from 0.1 to 100.

 

 

YScaling

Returns or sets height

Read/Write

Can be written only when

 

scaling factor. E.g. 1

 

formatting idle.

 

means 100%, 2 means

 

 

 

200%, 0.5 means 50% etc.

 

 

 

The scaling factor may

 

 

 

range from 0.1 to 100.

 

 

 

 

 

 

BoxObject Object

The Box Object represents a box that has been drawn on the report. This object allows you to get information about boxes in a report.

BoxObject Object Properties

Property

Description

Read/Write

Restriction in event handler

 

 

 

 

 

 

 

 

Bottom

Returns or sets the objects

Read/Write

Can be written only when

 

lower bottom position.

 

formatting idle.

 

 

 

 

BottomRightSection

Returns or sets the bottom

Read/Write

Can be written only when

 

right section.

 

formatting idle.

CloseAtPageBreak

Returns or sets close

Read/Write

Can be written only when

 

border on page break.

 

formatting idle.

 

 

 

 

ExtendToBottomOf

Returns or sets the extend

Read/Write

Can be written only when

Section

to bottom of section

 

formatting idle.

 

option.

 

 

FillColor

Returns or sets the fill

Read/Write

Can be written only when

 

color.

 

formatting idle.

 

 

 

 

HasDropShadow

Returns or sets the border

Read/Write

Can be written only when

 

drop shadow.

 

formatting idle.

Kind

Returns CRObjectKind

Read only

None

 

object which specifies

 

 

 

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

 

 

 

box, cross-tab, field, etc.).

 

 

Report Designer Component Object Model

27

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 upper left

Read/Write

Can be written only when

 

position.

 

formatting idle or active.

LineColor

Returns or sets line style.

Read/Write

Can be written only when

 

 

 

formatting idle.

 

 

 

 

LineStyle

Returns or sets line style.

Read/Write

Can be written only when

 

 

 

formatting idle.

LineThickness

Returns or sets line

Read/Write

Can be written only when

 

thickness.

 

formatting idle.

 

 

 

 

Name

Returns or sets object

Read/Write

Can be written only when

 

name.

 

formatting idle.

Parent

Reference to the Parent

Read only

None

 

object (Report Object (page

 

 

 

93)).

 

 

 

 

 

 

Right

Returns or sets object lower

Read/Write

Can be written only when

 

right position.

 

formatting idle.

 

 

 

 

Suppress

Returns or sets object

Read/Write

Can be written only when

 

visibility.

 

formatting idle or active.

 

 

 

 

Top

Returns or sets object

Read/Write

Can be written only when

 

upper top position.

 

formatting idle or active.

 

 

 

 

Report Designer Component Object Model

28

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