←Select platform

MedicalWebViewerExternalController Constructor()

Summary

The constructor for the MedicalWebViewerExternalController class.

Remarks

This overload of the constructor for the MedicalWebViewerExternalController class initializes the object and sets up a heartbeat timer event.

Example
C#
using Leadtools; 
 
using Leadtools.Medical.WebViewer.ExternalControl; 
 
private void MedicalWebViewerExternalController_ConstructorNoParameters() 
{ 
   string applicationName = string.Empty; 
   string version = string.Empty; 
   int externalControlPort = 500; 
 
   //Set up instance of MedicalWebViewerExternalController object 
   MedicalWebViewerExternalController controller = new MedicalWebViewerExternalController(); 
   controller.ViewerURL = "http://localhost/MedicalViewer22"; 
   controller.ServiceURL = "http://localhost/MedicalViewerServiceAsp22"; 
   controller.AspService = true; 
 
   ControllerReturnCode ret = controller.InitApplication(out applicationName, out version, externalControlPort); 
   if (ret == ControllerReturnCode.Success) 
   { 
      string sMsg = "controller object successfully initialized"; 
      Console.WriteLine(sMsg); 
   } 
 
   controller.CloseApplication(); 
 
   controller.Shutdown(); 
} 
Requirements

Target Platforms

Help Version 22.0.2022.12.7
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Medical.WebViewer.ExternalControl Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.