Search
FlowChart.SetDefLibShape Method
See Also
 



( a feature of FlowChartX Pro edition)

Sets the default library shape to use with new boxes of bsLibShape style.

 Syntax

VB6  Copy Code

Public Sub SetDefLibShape( _
    ByVal libGUID As String, _
    ByVal shape As Long _
)

C++  Copy Code

public:
void SetDefLibShape (
    BSTR libGUID,
    int shape
)

 Parameters

libGUID
The unique identifier of a loaded shape library.
shape
The index of the shape.

 Remarks

Sets default shape for boxes with Style set to bsLibShape. If the box has some other style set, then the custom shape will not be displayed until the box style is set to bsLibShape. If the default style of boxes - BoxStyle - is set to bsLibShape, all new boxes that users create will immediately display the custom shape selected with this method.

 See Also