Skip to main content

TdxFlowChartAdvancedShapeRepository.LoadShapesFromFile(string,string,string) Method

Loads custom shapes from an XML file.

Declaration

procedure LoadShapesFromFile(const AFileName: string; const AStencilID: string; const AStencilCaption: string = '');

Parameters

Name Type
AFileName string
AStencilID string
AStencilCaption string

Remarks

Call this procedure to add XML-based shape(s) from the file passed as the AFileName parameter to an existing or new shape category. To add the shape to a predefined or previously created stencil, pass its unique identifier as the AStencilID parameter. If the repository has no specified stencil, the LoadShapesFromFile procedure creates a new shape category, accepts the AStencilCaption as its name and appends shape(s) to it.

See Also