IPrxSheet.Printable

Syntax

Printable: Boolean;

Description

The Printable property determines whether the sheet is to be printed together with the book. If the property is set to True, the sheet is to be printed; if the property is set to False, the sheet is not printed.

Comments

The property is set to True by default. The value of this property affects printing as well as export to PDF and RTF formats.

If the property value is set to False for a sheet:

Example

Sub UserProc;

Var

MB: IMetabase;

MObj: IMetabaseObject;

Report: IPrxReport;

Sheet: IPrxSheet;

Begin

MB:=MetabaseClass.Active;

MObj:=MB.ItemById("Report").Edit;

Report:=MObj As IPrxReport;

Sheet:=Report.ActiveSheet;

Sheet.Printable:=False;

MObj.Save;

End Sub UserProc;

After executing the example the Print Sheet with the Report option is disabled for the active sheet of the regular report. The identifier of the regular report - Report.

See also:

IPrxSheet