IPrxSheetHeaderPart.Color

Syntax

Color: IGxColor;

Description

The Color property determines color of the font of the title or header and footer.

Example

The following example assumes that there is the Report object with the IPrxReport type.

Sub UserProc;

Var

Report: IPrxReport;

Header: IPrxSheetHeaderBase;

HeaderPart: IPrxSheetHeaderPart;

Begin

Header := Report.ActiveSheet.Header;

HeaderPart := Header.Center;

HeaderPart.Text := "&[Page] of &[Pages]";

HeaderPart.Color := New GxColor.CreateRGB(0,70,255);

End Sub UserProc;

After executing the example a header of the active sheet of the regular report is created.

See also:

IPrxSheetHeaderPart