В этом разделе
Возвращает массив наложений DICOM.
Синтаксис
Return Value
Менеджер для наложений текста.
Пример
// variable "dicomControl" is an instance of Vintasoft.Imaging.Dicom.WebDicomControlJS class.
// get DICOM viewer that is used in DICOM control
var dicomViewerControl = dicomControl.get_DicomViewerControl();
// create anchor that defines position of text overlay
var anchor = new Vintasoft.Imaging.Primitives.WebAnchorTypeEnumJS("Top");
// create text overlay
var textOverlay = new Vintasoft.Imaging.Dicom.WebDicomTextOverlayJS(anchor);
// set text for text overlay
textOverlay.set_Text("Test");
// get the text overlay collection that is used by DICOM viewer
var textOverlayCollection = dicomViewerControl.get_TextOverlays();
// add text overlay to the text overlay collection
textOverlayCollection.add(textOverlay);
// redraw DICOM viewer
dicomViewerControl.update();
Совместимость с веб браузерами
Смотрите также