IPrxDataIslandProperties.UseStyleFormatting

Syntax

UseStyleFormatting: Boolean;

Description

The UseStyleFormatting property determines the formatting to be used for a data area.

Comments

Available values:

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 sheet cell formatting.
        Prop.UseStyleFormatting := False;
    DI.Save;

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

After executing the example style of the report sheet is used as the first data area style. The Use Existing Sheet Formatting checkbox is selected on the tab of data area formatting parameters.

See also:

IPrxDataIslandProperties