Restores the specified Context Group to the default values as stored in the internal table maintained by LEADTOOLS.
#include "ltdic.h"
static L_BOOL LDicomContextGroup::Default(pContextGroup)
Pointer to a DICOMCONTEXTGROUP structure that specifies the Context Group to be restored. If this parameter is set to NULL, the function restores all the Context Groups in the Context Group Table.
Value | Meaning |
---|---|
TRUE | The specified Context Group was restored successfully. |
FALSE | The function failed to allocate memory. |
LEADTOOLS maintains an internal table of the Context Groups defined by the DICOM Content Mapping Resource (DCMR). Use the LDicomContextGroup::Load function 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 function to discard all the changes made to the Context Group.
If the internal table does not contain a Context Group with the same Context ID as that of the specified Context Group, the function will just return successfully without affecting the Context Group.
Win32, x64
For an example, refer to LDicomContextGroup::Find.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document