SetUIDName Example for C++Builder
LEADDicom1->EnableMethodErrors = true;
try
{
/* move to the selected UID */
LEADDicom1->FindIndexUID(12);
ShowMessage("Original UID name: " + LEADDicom1->CurrentUID->Name);
/* change the name */
LEADDicom1->SetUIDName("New UID Name");
ShowMessage("Modified UID name: " + LEADDicom1->CurrentUID->Name);
}
catch(ELEADDicomError *e)
{
ShowMessage("Error Number: " + IntToStr(LEADDicom1->Error));
}