Show contents 

Report > Report Assembly Interfaces > IPrxSheet > IPrxSheet.Printable

IPrxSheet.Printable

Syntax

Printable: Boolean;

Description

The Printable property determines whether the sheet will be printed together with the book.

Comments

If the property is set to True, the sheet will be printed; if the property is set to False, the sheet will not be 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:

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