InsertContextGroup method (ILEADDicomDS Interface)
short InsertContextGroup(BSTR bstrContextIdentifier, BSTR bstrName, VARIANT_BOOL bExtensible, short nFlags); | |
Overview |
Refer to Working with Context Groups. |
Remarks
The InsertContextGroup method adds a new Context Group to the Context Group Table and updates the CurrentContextGroup property with the newly inserted Context Group.
A Context Group can be added to the Context Group Table either by loading from the internal table maintained by LEADTOOLS or by inserting into the Context Group Table directly. Use the InsertContextGroup method to insert a new Context Group to the Context Group Table. The LoadContextGroup method is used to load Context Groups from the internal table.
The Context Group Version (0008,0106) of the new Context Group is not passed as a parameter to the method. It should be specified using the DateTimeValues property before the method is called. The method will take the first value in the array specified by the DateTimeValues property as the Context Group Version of the new Context Group.
The Context Identifier, name, and Context Group Version of the new Context Group should all be specified.
Use the InsertCodedConcept method to add Coded Concepts to a Context Group in the Context Group Table.
See Also