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

PageGenerator Object Methods

DrillOnGraph

The DrillOnGraph method creates a new PageGenerator Object (32-bit only), Page 335, that results from drilling down on the specified point in a graph on the given page.

Syntax

pgGenObject = object.DrillOnGraph (PageNumber, XOffset, YOffset)

Parameters

PageNumber

Specifies the page number.

XOffset

Specifies the X coordinate on page in twips where the drill-down occurred.

 

 

YOffset

Specifies the Y coordinate on page in twips where the drill-down occurred.

 

 

GetPageNumberForGroup

The GetPageNumberForGroup method returns the page number on which the given group starts.

Syntax

numbervar = object.GetPageNumberForGroup (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).

 

 

SearchForText

The SearchForText method searches for the given text, starting on the given page. If the text is found, the PageNumber is set to the number of the page on which it was found. Returns a Boolean value indicating if text was found.

Syntax

Boolean = object.SearchForText (Text, Direction, PageNumber)

Crystal Report Engine Object Model for the Automation Server

336

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