PrintSettings: IEaxObjectPrintSettings;
The PrintSettings property returns parameters of express report object print and export.
Executing the example requires that the repository contains an express report with the EXPRESS_REPORT identifier.
Sub Main;
Var
MB: IMetabase;
Expr: IEaxAnalyzer;
PrSetting: IEaxObjectPrintSettings;
Begin
MB := MetabaseClass.Active;
Expr := MB.ItemById("EXPRESS_REPORT").Edit As IEaxAnalyzer;
PrSetting := Expr.Grid.PrintSettings;
PrSetting.BlackAndWhite := True;
PrSetting.Scale := -1;
(Expr As IMetabaseObject).Save;
End Sub Main;
After executing the example print and export parameters of express report table are changed. The table is exported or printed as a black and white table justified to page width.
See also: