Printable: Boolean;
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.
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:
When the whole book is printed, this sheet is not printed. However, this sheet can be printed separately.
When exporting a report in PDF or RTF format, this sheet is not exported.
When previewing the sheet in the Preview dialog box only this sheet is available in the list of sheets.
When previewing other sheets in the Preview dialog box the list of sheets does not contain this sheet.
When printing this sheet using the Print dialog box the Print drop-down list does not contain the Entire Report option.
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: