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

ExportOptions Object Methods

PromptForExportOptions Method (ExportOptions Object), Page 45

Reset Method (ExportOptions Object), Page 45

PromptForExportOptions Method (ExportOptions Object)

The PromptForExportOptions method prompts the user for export information using default Crystal Report Engine dialog boxes.

Syntax

object.PromptForExportOptions

Reset Method (ExportOptions Object)

The Reset method clears all ExportOptions properties.

Syntax

object.Reset

FieldObject Object

The FieldObject Object represents a field found in a report (i.e., special field, database field, parameter field, etc.). This object provides properties for retrieving information for a field in your report. A FieldObject Object is obtained from the Item property of the ReportObjects Collection, Page 103, (i.e., ReportObjects.Item(Index)), where the index references a special field, database field, parameter field, summary field, or group name field (except BLOB field - see BlobFieldObject Object (page 25)).

FieldObject Object Properties

Property

Description

Read/Write

Restriction in event handler

 

 

 

 

 

 

 

 

AmPmType

Returns or sets AM/PM type.

Read/Write

Can be written only when

 

 

 

formatting idle or active.

AmString

Returns or sets AM string.

Read/Write

Can be written only when

 

 

 

formatting idle or active.

 

 

 

 

Report Designer Component Object Model

45

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.

BooleanOutputType

Returns or sets Boolean output

Read/Write

Can be written only when

 

type.

 

formatting idle or active.

 

 

 

 

BorderColor

Returns or sets the object border

Read/Write

Can be written only when

 

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 option.

Read/Write

Can be written only when

 

 

 

formatting idle or active.

CloseAtPageBreak

Returns or sets close border on

Read/Write

Can be written only when

 

page break.

 

formatting idle or active.

 

 

 

 

CurrencyPosition

Returns or sets currency

Read/Write

Can be written only when

Type

position type.

 

formatting idle or active.

CurrencySymbol

Returns or sets currency

Read/Write

Can be written only when

 

symbol.

 

formatting idle or active.

 

 

 

 

CurrencySymbol

Returns or sets currency symbol

Read/Write

Can be written only when

Type

type.

 

formatting idle or active.

DateCalendarType

Returns or sets date calendar

Read/Write

Can be written only when

 

type.

 

formatting idle.

 

 

 

 

DateEraType

Returns or sets date era type.

Read/Write

Can be written only when

 

 

 

formatting idle.

 

 

 

 

DateFirstSeparator

Returns or sets date first

Read/Write

Can be written only when

 

separator.

 

formatting idle or active.

 

 

 

 

DateOrder

Returns or sets date order.

Read/Write

Can be written only when

 

 

 

formatting idle or active.

 

 

 

 

DatePrefixSeparator

Returns or sets date prefix

Read/Write

 

 

separator.

 

 

 

 

 

 

DateSecond

Returns or sets date second

Read/Write

Can be written only when

Separator

separator.

 

formatting idle or active.

 

 

 

 

DateWindows

Returns or sets date windows

Read/Write

Can be written only when

DefaultType

default type.

 

formatting idle.

 

 

 

 

DayType

Returns or sets day type.

Read/Write

Can be written only when

 

 

 

formatting idle or active.

 

 

 

 

DecimalPlaces

Returns or sets number decimal

Read/Write

Can be written only when

 

places.

 

formatting idle or active.

 

 

 

 

DecimalSymbol

Returns or sets decimal symbol.

Read/Write

Can be written only when

 

 

 

formatting idle or active.

 

 

 

 

Report Designer Component Object Model

46

Property

Description

Read/Write

Restriction in event handler

 

 

 

 

 

 

 

 

EnableTight

Returns or sets tight horizontal.

Read/Write

Can be written only when

Horizontal

 

 

formatting idle or active.

Field

Returns the field definition

Read only

None

 

object (depending on what the

 

 

 

field object is, i.e.,

 

 

 

DatabaseFieldDefinition Object

 

 

 

(page 33),

 

 

 

FormulaFieldDefinition Object

 

 

 

(page 50),

 

 

 

GroupNameFieldDefinition

 

 

 

Object (page 64),

 

 

 

ParameterFieldDefinition Object

 

 

 

(page 83),

 

 

 

SummaryFieldDefinition Object

 

 

 

(page 121), and

 

 

 

SpecialVarFieldDefinition

 

 

 

Object (page 113)).

 

 

 

 

 

 

Font

Returns information on what

Read only

Can be written only when

 

type of font is being used (i.e.,

 

formatting idle.

 

name).

 

 

 

 

 

 

HasDropShadow

Returns or sets border drop

Read/Write

Can be written only when

 

shadow.

 

formatting idle or active.

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 or active.

HourMinute

Returns or sets hour minute

Read/Write

Can be written only when

Separator

separator.

 

formatting idle or active.

 

 

 

 

HourType

Returns or sets hour type.

Read/Write

Can be written only when

 

 

 

formatting idle or active.

KeepTogether

Returns or sets keep object

Read/Write

Can be written only when

 

together.

 

formatting idle or active.

 

 

 

 

Kind

Returns CRObjectKind object

Read only

None

 

which specifies what “kind” of

 

 

 

object (i.e., box, cross-tab, field,

 

 

 

etc.).

 

 

 

 

 

 

 

 

 

 

 

Constant

Value

 

 

 

 

 

 

 

 

 

 

crBlobFieldObject

9

 

 

 

 

 

 

crBoxObject

4

 

 

 

 

 

Report Designer Component Object Model

47

Constant

Value

 

 

 

 

crCrossTabObject

8

 

 

crFieldObject

1

crGraphObject

7

 

 

crLineObject

3

 

 

crMapObject

10

 

 

crOleObject

6

crSubreportObject

5

 

 

crTextObject

2

 

 

Property

Description

Read/Write

Restriction in event handler

 

 

 

 

 

 

 

 

 

 

LeadingDay

Returns or sets leading day

Read/Write

Can be written only when

Position

position type.

 

formatting idle.

 

 

 

 

 

 

 

 

 

 

 

Constant

Value

 

 

 

 

 

 

 

 

 

 

 

 

crLeadingDayOfWeek

0

 

 

 

 

 

 

 

crTrailingDayOfWeek

1

 

 

 

 

 

 

Property

Description

 

Read/Write

Restriction in event handler

 

 

 

 

 

 

 

 

 

 

LeadingDay

Returns or sets leading day

 

Read/Write

Can be written only when

Separator

separator.

 

 

formatting idle or active.

 

 

 

 

 

LeadingDayType

Returns or sets leading day

 

Read/Write

Can be written only when

 

type.

 

 

formatting idle or active.

 

 

 

 

 

Left

Returns or sets object upper left

 

Read/Write

Can be written only when

 

position.

 

 

formatting idle or active.

 

 

 

 

 

LeftLineStyle

Returns or sets left line style.

 

Read/Write

Can be written only when

 

 

 

 

formatting idle or active.

 

 

 

 

 

MaxNumber

Returns or sets the maximum

 

Read/Write

Can be written only when

OfLines

number of line for a string

 

 

formatting idle or active.

 

memo field.

 

 

 

 

 

 

 

 

MinuteSecond

Returns or sets minute second

 

Read/Write

Can be written only when

Separator

separator.

 

 

formatting idle or active.

MinuteType

Returns or sets minute type.

 

Read/Write

Can be written only when

 

 

 

 

formatting idle or active.

 

 

 

 

 

MonthType

Returns or sets month type.

 

Read/Write

Can be written only when

 

 

 

 

formatting idle or active.

Name

Returns or sets object name.

 

Read/Write

Can be written only when

 

 

 

 

formatting idle or active.

 

 

 

 

 

Report Designer Component Object Model

48

Property

Description

Read/Write

Restriction in event handler

 

 

 

 

 

 

 

 

NegativeType

Returns or sets number

Read/Write

Can be written only when

 

negative type.

 

formatting idle or active.

NextValue

Returns field next value.

Read only

Can be written only when

 

 

 

formatting idle or active.

 

 

 

 

Parent

Reference to the Parent object

Read only

Can be written only when

 

(Section Object (page 107)).

 

formatting idle or active.

PmString

Returns or sets PM string.

Read/Write

Can be written only when

 

 

 

formatting idle or active.

 

 

 

 

PreviousValue

Returns previous field value.

Read only

Can be written only when

 

 

 

formatting idle or active.

RightLineStyle

Returns or sets right line style.

Read/Write

Can be written only when

 

 

 

formatting idle or active.

 

 

 

 

RoundingType

Returns or sets number

Read/Write

Can be written only when

 

rounding type.

 

formatting idle or active.

SecondType

Returns or sets second type.

Read/Write

Can be written only when

 

 

 

formatting idle or active.

 

 

 

 

Suppress

Returns or sets object visibility.

Read/Write

Can be written only when

 

 

 

formatting idle or active.

SuppressIf

Returns or sets suppress if

Read/Write

Can be written only when

Duplicated

duplicated option.

 

formatting idle or active.

 

 

 

 

SuppressIfZero

Returns or sets suppress if zero

Read/Write

Can be written only when

 

option.

 

formatting idle or active.

 

 

 

 

TextColor

Returns or sets object text color.

Read/Write

Can be written only when

 

 

 

formatting idle or active.

 

 

 

 

Thousands

Returns or sets enable number

Read/Write

Can be written only when

Separators

thousands separators.

 

formatting idle or active.

 

 

 

 

ThousandSymbol

Returns or sets thousand

Read/Write

Can be written only when

 

symbol.

 

formatting idle or active.

 

 

 

 

TimeBase

Returns or sets time base.

Read/Write

Can be written only when

 

 

 

formatting idle or active.

 

 

 

 

Top

Returns or sets upper top

Read/Write

Can be written only when

 

position.

 

formatting idle or active.

 

 

 

 

TopLineStyle

Returns or sets top line style.

Read/Write

Can be written only when

 

 

 

formatting idle or active.

 

 

 

 

UseLeadingZero

Returns or sets number uses

Read/Write

Can be written only when

 

leading zero option.

 

formatting idle or active.

 

 

 

 

UseOneSymbol

Returns or sets one symbol per

Read/Write

Can be written only when

PerPage

page option.

 

formatting idle or active.

 

 

 

 

Report Designer Component Object Model

49

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