Show contents 

Report > Report Assembly Interfaces > IPrxSheetHeaderBase > IPrxSheetHeaderBase.Printable

IPrxSheetHeaderBase.Printable

Syntax

Printable: Boolean;

Description

The Printable property determines whether the title or header and footer of the regular report is printed.

Comments

If the property is set to True, the title or header and footer will be printed.

The default property value is True.

Example

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

Sub UserProc;
Var
    MB: IMetabase;
    MObj: IMetabaseObject;
    Report: IPrxReport;
    Header: IPrxSheetHeaderBase;
Begin
    MB := MetabaseClass.Active;
    MObj := MB.ItemById("REPORT").Edit;
    Report := MObj As IPrxReport;
    Header := Report.Title As IPrxSheetHeaderBase;
    Header.Printable := False;
    MObj.Save;
End Sub UserProc;

After executing the example the Print Title option is disabled for this regular report.

See also:

IPrxSheetHeaderBase