DisplayRegion: Boolean;
The DisplayRegion property determines whether the borders of data areas and formula areas are visible.
Sub UserProc;
Var
MB: IMetabase;
MObj: IMetabaseObject;
Rep: IPrxReport;
Tab: ITabSheet;
View: ITabView;
Begin
MB:=MetabaseClass.Active;
MObj:=MB.ItemById("Reg_rep").Edit;
Rep:=MObj As IPrxReport;
Tab:=Rep.ActiveSheet.Table;
View:=Tab.View;
View.DisplayRegion:=False;
MObj.Save;
End Sub UserProc;
After executing the example the displaying of borders of data areas and formula areas on the regular report active page will be disabled. The identifier of the regular report is Reg_rep.
See also: