工具栏的图标都是自己可以添加上去的,对应每一种操作,这个是在完整的demo中才有
链接中的页面也添加了窗位的调整功能,见其中的代码
- cell.setCommand(1, new lt.Controls.Medical.OffsetAction());
-
- // [optional] Add an action that allows the user to do window level on the image.
- cell.setCommand(2, new lt.Controls.Medical.WindowLevelAction());
-
- // [optional] Run the action. Now if the user clicks or touches the image and drags it, the image will move correspondingly.
- cell.runCommand(2);
复制代码
url的设置见如下代码,您可以直接就将url设置为一个您的文件位置
- // now we need the image URL,
- var imageUri = "https://demo.leadtools.com/MedicalViewerService19/ObjectRetrieveService.svc";
- imageUri += "/GetImageTile?auth=";
- imageUri += authenticationCode;
- // this the image instance UID, change this if you want to retrieve anything else.
- imageUri += "&instance=1.3.251.1146.3891.2001006.1752215.5";
- mrtiInfo.imageUri = imageUri;
复制代码
|