private static void SetCellConfiguration(MedicalViewerBaseCell cell)
        {
            if (cell.DefaultAnnotationColor != ConfigurationData.AnnotationDefaultColor)
            {
                cell.DefaultAnnotationColor = ConfigurationData.AnnotationDefaultColor;
            }

            if (cell.DefaultAnnotationUnit != ConfigurationData.MeasurementUnit)
            {
                cell.DefaultAnnotationUnit = ConfigurationData.MeasurementUnit;
            }
        }
Beispiel #2
0
        private static void SetCellConfiguration(MedicalViewerBaseCell cell)
        {
            if (cell.DefaultAnnotationColor != ConfigurationData.AnnotationDefaultColor)
            {
                cell.DefaultAnnotationColor = ConfigurationData.AnnotationDefaultColor;
            }

#if LEADTOOLS_V19_OR_LATER
            if (cell.DefaultAnnotationUnit != ConfigurationData.MeasurementUnit)
            {
                cell.DefaultAnnotationUnit = ConfigurationData.MeasurementUnit;
            }
#endif
        }
Beispiel #3
0
 public MedicalViewerCell Convert2MedicalViewerCell(MedicalViewerBaseCell _baseCell)
 {
     try
     {
         return (MedicalViewerCell)_baseCell;
     }
     catch
     {
         return new MedicalViewerCell();
     }
 }