IPrxDataIslandProperties.Corner

Fore Syntax

Corner: IPrxDataIslandCorner;

Fore.NET Syntax

Corner: Prognoz.Platform.Interop.Report.IPrxDataIslandCorner;

Description

The Corner property returns the object that contains style of the corner cell of the data area table.

Fore Example

Executing the example requires a regular report with the REPORT identifier, which contains data area. Add links to the Metabase, Report system assemblies.

Sub UserProc;
Var
    MB: IMetabase;
    MObj: IMetabaseObject;
    Prop: IPrxDataIslandProperties;
    DI: IPrxDataIsland;
Begin
    MB := MetabaseClass.Active;
    MObj := MB.ItemById(
"REPORT").Edit;
    DI := (MObj As IPrxReport).DataIslands.Item(0).Edit;
        Prop := DI.Properties;
        
// Set the property "Merge table angle".
        Prop.Corner.Merge := True;
    DI.Save;
    // Save report.
    MObj.Save;
End Sub UserProc;

After executing the example table angle cell and the first data area of the REPORT regular report are merged.

Before executing the example, if there are several headings, the data area corner consists of two cells.

After executing the example data area angle cells are merged.

Fore.NET Example

The requirements and result of the Fore.NET example execution match with those in the Fore example.

Imports Prognoz.Platform.Interop.Metabase;
Imports Prognoz.Platform.Interop.Report;

...

Sub Main(Params: StartParams);
Var
    MB: IMetabase;
    MObj: IMetabaseObject;
    Prop: IPrxDataIslandProperties;
    DI: IPrxDataIsland;
Begin
    MB := Params.Metabase;
    MObj := MB.ItemById["REPORT"].Edit();
    DI := (MObj As IPrxReport).DataIslands.Item[0].Edit();
        Prop := DI.Properties;
        // Set the property "Merge table corner".
        Prop.Corner.Merge := True;
    DI.Save();
    // Save report.
    MObj.Save();
End Sub;

See also:

IPrxDataIslandProperties