Skip to main content

TdxCustomFlowChart.CreateObject(Integer,Integer,Integer,Integer,TdxFcShapeType) Method

Creates a new chart symbol in the control.

Declaration

function CreateObject(L: Integer; T: Integer; W: Integer; H: Integer; AShape: TdxFcShapeType): TdxFcObject; overload;

Parameters

Name Type Description
L Integer

A distance between the client area’s left border and the chart symbol’s bounding rectangle, in pixels.

T Integer

A distance between the client area’s top border and the chart symbol’s bounding rectangle, in pixels.

W Integer

The width (in pixels) of the created chart symbol.

H Integer

The height (in pixels) of the created chart symbol.

AShape TdxFcShapeType

A shape from the predefined set.

Returns

Type Description
TdxFcObject

A chart symbol.

Remarks

Call this function to place a new chart symbol at the specified point within the control’s area.

We recommend that you call the CreateObject(Integer,Integer,Integer,Integer,TdxFlowChartObjectAdvancedShape) function instead. It allows you to add a shape from the control’s repository that includes a wider choice of shapes.

See Also