IChartExporter.PixelHeight

Syntax

PixelHeight: Integer;

Description

The PixelHeight property determines chart height in pixels.

Example

Executing the example requires a form for a button with the name Button1 and the UiErAnalyzer and ImageBox components with the names UiErAnalyzer1 and ImageBox1 respectively.

Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
    Chart: IChart;
    Exp: IChartExporter;
Begin
    Chart := UiErAnalyzer1.ErAnalyzer.Chart.Chart;
    Exp := New ChartExporter.Create;
    Exp.Chart := Chart;
    Exp.PixelHeight := 300;
    Exp.PixelWidth := 300;
    ImageBox1.Image := Exp.GetBitmap;
End Sub Button1OnClick;

Clicking the button loads a graphic view of the chart used in the express report, to the ImageBox1 component. The chart will have specified height and width in pixels.

See also:

IChartExporter