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

PageEngine Object Properties

Property

Description

Read/Write

 

 

 

 

 

 

ImageOptions

Returns/Sets CRImageType (see table below)

Read/Write

 

indicating the image type for EPF format.

 

 

 

 

 

 

 

 

Constant

Value

 

 

 

 

 

 

 

crDIBImageType

1

 

 

 

 

crJPEGImageType

2

 

 

 

PageEngine Object Methods

CreatePageGenerator

The CreatePageGenerator method returns a PageGenerator Object (32-bit only), Page 335, allowing you to get pages from the view of the report, specified by the GroupPath parameter.

Syntax

PgGenObject = object.CreatePageGenerator (GroupPath)

Parameters

GroupPath

Specifies an integer array that represents the group path (separated by “/”). An

 

empty array would represent the entire report, an array (0, 1) would represent a

 

drill down on the second group member within the first group member (i.e., 0

 

= first group in Group #1 and 1 = second group in Group #2).

 

 

NOTE: Another optional parameter, DrillDownLevel, will appear in the Object Browser for the CreatePageGenerator Method. This parameter has not been implemented; the value will be ignored.

RenderTotallerETF

The RenderTotallerETF method returns a variant that contains ETF code for the Group Tree.

Syntax

variantData = object.RenderTotallerETF (RootGroupPath, StartingChildNumber, PastRootLevels, MaxNodeCount, ResultType)

Crystal Report Engine Object Model for the Automation Server

333

Parameters

MaxNodeCount

The maximum number of nodes for the Group Tree.

 

 

 

PastRootLevels

An array of past root levels.

 

ResultType

Returns CRRenderResultType (see table below) indicating whether the page

 

will be rendered by using strings or arrays.

 

 

 

 

 

 

 

Constant

Value

 

 

 

 

 

 

 

crBSTRType

8

 

 

 

 

crUISafeArrayType

8209

 

 

 

 

 

RootGroupPath

Specifies an integer array that represents the root group path (separated by “/

 

”). An empty array would represent the entire report, an array (0, 1) would

 

represent a drill-down on the second group member within the first group

 

member (that is, 0 = first group in Group #1 and 1 = second group in Group #2).

 

 

StartingChildNumber

The child level to display the report grouping at.

RenderTotallerHTML

The RenderTotallerHTML method returns a variant that contains HTML code for the Group Tree.

Syntax

variantData = object.RenderTotallerHTML (RootGroupPath, StartingChildNumber, PastRootLevels, MaxNodeCount, OpenGroupPath, IncludeDrillDownLinks, BaseURL, ResultType)

Parameters

BaseURL

The URL address of the report when it is first generated by the web server.

 

 

IncludeDrillDownLinks

Indicates whether or not drill-down hyperlinks are generated for summary

 

values in the report.

 

 

MaxNodeCount

The maximum number of nodes to display in the Group Tree.

OpenGroupPath

An array of groups to be opened in the report.

 

 

PastRootLevels

A value indicating the number of past root levels.

 

 

ResultType

Returns CRRenderResultType (see table below) indicating whether the page

 

will be rendered by using strings or arrays.

Crystal Report Engine Object Model for the Automation Server

334

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