IPrxVisualizer.Update

Syntax

Update(Value: Boolean);

Parameters

Value. The value that determines whether visualizer is rerendered.

Description

The Update method determines whether visualizer is rerendered.

Comments

Available values of the Value parameter:

To determine visualizer type in a regular report, use IPrxVisualizer.EaxVisualizer.

Example

Executing the example requires that the repository contains a regular report. The report contains a map as a visualizer. Each cell contains a hyperlink, clicking which executes the procedure or function SetColor in the SetColor unit. Procedure implementation is presented below.

Add links to the Drawing, Express, Report, Tab, Visualizators system assemblies.

Public Sub SetColor;
Var
    ActiveSheet: IPrxTable;
    TabObj: ITabObject;
    RepVis: IPrxVisualizer;
    MapChart: IEaxMapChart;
    VisMapChart: IVZMapChart;
Begin
    ActiveSheet := PrxReport.ActiveReport.ActiveSheet As IPrxTable;
    TabObj := ActiveSheet.TabSheet.Objects.Item(0);
    RepVis := TabObj.Extension As IPrxVisualizer;
    MapChart := RepVis.EaxVisualizer As IEaxMapChart;
    VisMapChart := MapChart.MapChart;
    VisMapChart.Background := New GxSolidBrush.Create(GxColor.FromName("Red"));
    RepVis.Update(True);
End Sub setColor;

After executing the example clicking the hyperlink changes visualizer background color to red.

See also:

IPrxVisualizer