Table of Contents

TChartRelativeRectangle.CalcRect Method

Overloads

TChartRelativeRectangle.CalcRect(TPointF, TUIRectangle)

Calculates the dimension of the rectangle given the parent rectangle.

Syntax

Namespace: FlexCel.Core

public TUIRectangle CalcRect(TPointF Point, TUIRectangle Coords)

Parameters

<-> Parameter Type Description
Point TPointF Point with the default position to be used by the parent. When mode is not factor, it is not used.
Coords TUIRectangle Parent rectangle coordinates.

See also

TChartRelativeRectangle.CalcRect(TPointF, TUIRectangle, Double, Double)

Calculates the absolute rectangle given the parent rectangle.

Syntax

Namespace: FlexCel.Core

public TUIRectangle CalcRect(TPointF Point, TUIRectangle Coords, Double XDir, Double YDir)

Parameters

<-> Parameter Type Description
Point TPointF Point with the default position to be used by the parent. When mode is not factor, it is not used.
Coords TUIRectangle Parent rectangle coordinates.
XDir Double Set it to -1 to reverse the x direction, or to 1 to keep it normal.
YDir Double Set it to -1 to reverse the y direction, or to 1 to keep it normal.

See also