IPrxDataIslandProperties.Style

Syntax

Style: IPrxCellStyle;

Description

The Style property determines style formatting of data of the data area.

Example

Executing the example requires a regular report with the REPORT identifier, which contains data area. Add links to the Metabase, Report and Tab 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 data font size.
        Prop.Style.Font.Size := 16;
    DI.Save;

    // Save report.
    MObj.Save;
End Sub UserProc;

After executing the example data font size of the first data area of regular report REPORT equals to 16.

See also:

IPrxDataIslandProperties