Leadtools.Dicom Requires Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.10.31
Default Method
See Also 
Leadtools.Dicom Namespace > DicomContextGroupTable Class : Default Method




contextGroup
DicomContextGroup object that specifies the Context Group to be restored. If this parameter is set to null, the method restores all the Context Groups in the Context Group Table.
Restores the specified Context Group to the default values as stored in the internal table maintained by LEADTOOLS.

Syntax

Visual Basic (Declaration) 
Public Function Default( _
   ByVal contextGroup As DicomContextGroup _
) As Boolean
Visual Basic (Usage)Copy Code
Dim instance As DicomContextGroupTable
Dim contextGroup As DicomContextGroup
Dim value As Boolean
 
value = instance.Default(contextGroup)
C# 
public bool Default( 
   DicomContextGroup contextGroup
)
Managed Extensions for C++ 
public: bool Default( 
   DicomContextGroup* contextGroup
) 
C++/CLI 
public:
bool Default( 
   DicomContextGroup^ contextGroup
) 

Parameters

contextGroup
DicomContextGroup object that specifies the Context Group to be restored. If this parameter is set to null, the method restores all the Context Groups in the Context Group Table.

Return Value

true, the specified Context Group was restored successfully. flase, the method failed to allocate memory.

Example

For an example, refer to Insert.

Remarks

  • LEADTOOLS maintains an internal table of the Context Groups defined by the DICOM Content Mapping Resource (DCMR). Use the Load method to load Context Groups from this table into the Context Group Table. After a Context Group is loaded, its Coded Concepts can be deleted, their Code Meanings can be modified, and new Concepts can be added to the Group. Use the Default method to discard all the changes made to the Context Group.
  • If the internal table doesn’t contain a Context Group with the same Context ID as that of the specified Context Group, the method will just return successfully without affecting the Context Group.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

Leadtools.Dicom requires a Medical toolkit license and unlock key. For more information, refer to: Raster Pro/Document/Medical Features