TdxFlowChartAdvancedShapeRepository.LoadShapesFromStream(TStream,string,string) Method
Loads custom shapes from the specified stream.
Declaration
procedure LoadShapesFromStream(const AStream: TStream; const AStencilID: string; const AStencilCaption: string = '');
Parameters
| Name | Type |
|---|---|
| AStream | TStream |
| AStencilID | string |
| AStencilCaption | string |
Remarks
Call this procedure to add XML based shape(s) from the stream passed as the AStream 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 LoadShapesFromStream procedure creates a new shape category, accepts the AStencilCaption as its name and appends shape(s) to it.
See Also