Font: IGxFont;
The Font property determines font of the title or header and footer.
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);
HeaderPart.Font := New GxFont.Create("Tahoma", 9);
End Sub UserProc;
Executing the example creates a header of the active sheet of the regular report.
See also: