Ejemplo n.º 1
0
 public void DefAnnotations(CanvasPage page, IExam exam, ExamType type, Template temp)
 {
     if (type == ExamType.REVIEW)
         return;
     var headers = temp.GetHeaders(exam.TempID, page.Name);
     var footers = temp.GetFooters(exam.TempID, page.Name);
     if(headers != null && footers != null)
     {
         switch(type)
         {
             case ExamType.PULMONARY:
                 DefPulmAnnots(ref headers, ref footers, page, (exam as VQExam), temp);
                 break;
         }
     }
     SetAnnotations(page, headers, footers);
     //page.SetAnnotations(headers, footers);
 }