Skip to main content

TdxCustomFlowChart.ChartPoint(TPoint) Method

Converts the specified point from visible area coordinates to client area coordinates.

Declaration

function ChartPoint(const P: TPoint): TPoint; overload;

Parameters

Name Type Description
P TPoint

The point in visible area coordinates.

Returns

Type Description
TPoint

The P point in client area coordinates. The returned result depends on the RealZoom, LeftEdge, and TopEdge property values.

Remarks

You can call the ChartPoint(Integer,Integer) function to pass the target point’s coordinates as the X and Y parameters.

Note

The visible area and client area coordinates match if the control’s content fits into the client area without zooming out.

See Also