Info

EnableHideForDrillDown

Returns

or

sets

hide for drill down option

EnableKeepTogether

Returns

or

sets

the keep area together option

EnableNewPageAfter

Returns

or

sets

the new page after option

EnableNewPageBefore

Returns

or

sets

the new page before option

EnablePrintAtBottomOfPage

Returns

or

sets

the print at bottom of page option

EnableResetPageNumberAfter

Returns

or

sets

the reset page number after option

EnableSuppress

Returns

or

sets

the area visibility

Figure 9-8

So, to format our report so that we are suppressing the page header, the code would look something like this:

myReport.ReportDefinition.Areas.Item(1).AreaFormat.EnableSuppress = True

Keep in mind that any properties we set for an area also apply for all of the sections within that area (for example, any formatting applied to the "Report Header" would also apply to "Report Header A," "Report Header B," and so on).

Formatting Sections

For sections within an area, we also have a number of properties within a SectionFormat class that can control an individual section's appearance, including:

Property

Description

BackGroundColor

Returns or sets the background color of the object using

Was this article helpful?

0 0

Post a comment