Express > Express Assembly Interfaces > IEaxGridViewSettings > IEaxGridViewSettings.CreateRegion
CreateRegion: Boolean;
The CreateRegion property determines whether table region will be created in regular report.
Available values:
True. Default value. Region will be created.
False. Region will not be created.
Table region is an object of the ITabRegion type. The attribute showing that table region is present in the regular table is a blue triangle in the left top table corner.
Executing the example requires that the repository contains a regular report with REPORT identifier. An analytical data area is created in the report.
Add links to the Express, Metabase and Report system assemblies.
Sub UserProc;
Var
MB: IMetabase;
Report: IPrxReport;
Grid: IEaxGrid;
ViewSets: IEaxGridViewSettings;
Begin
// Get table
MB := MetabaseClass.Active;
Report := MB.ItemById("REPORT").Edit As IPrxReport;
Grid := Report.DataArea.Views.Item(0) As IEaxGrid;
// Get table view settings
ViewSets := Grid.ViewSettings;
// Do not create a region
ViewSets.CreateRegion := False;
// Only data will be displayed
ViewSets.OutputPart := EaxGridOutputPart.Data;
ViewSets.OutputRange := "A7:G12";
// Display hyperlinks as text
ViewSets.HyperlinkAsText := True;
// Save changes
Report.MetabaseObject.Save;
End Sub UserProc;
After executing the example the regular report table displays value area in the specified range. The region for the value area is not created.
See also: