Exemplo n.º 1
0
 /// <summary>
 /// Disconnect the AxIpeDspCtrl image control from the image window in Sherlock.
 /// </summary>
 /// <param name="imgDisplay">A reference to the AxeIpeDspCtrl display control to be disconnected.</param>
 public void DisconnectDisplay(AxIpeDspCtrl imgDisplay)
 {
     imgDisplay.DisconnectImgWindow( );
 }
Exemplo n.º 2
0
 /// <summary>
 /// Connects the AxIpeDspCtrl image control to an image window in Sherlock and then sets the magnification.
 /// </summary>
 /// <param name="displayName">The name of the image window in Sherlock.</param>
 /// <param name="imgDisplay">A reference to the AxeIpeDspCtrl display control used.</param>
 /// <param name="magnification">Sets the inital magnification of the AxIpeDspCtrl control.</param>
 public void ConnectDisplay(string displayName, AxIpeDspCtrl imgDisplay, Magnification magnification)
 {
     imgDisplay.ConnectEngine(_sherlock.GetEngineObj( ));
     imgDisplay.ConnectImgWindow(displayName);
     imgDisplay.SetZoom(( double )magnification);
 }
Exemplo n.º 3
0
 /// <summary>
 /// Sets the magnification of the AxIpeDspCtrl image control.
 /// </summary>
 /// <param name="imgDisplay">A reference to the AxeIpeDspCtrl display control used.</param>
 /// <param name="magnification">Sets the magnification of the AxIpeDspCtrl control.</param>
 public void SetZoom(AxIpeDspCtrl imgDisplay, Magnification magnification)
 {
     imgDisplay.SetZoom(( double )magnification);
 }
Exemplo n.º 4
0
 /// <summary>
 /// Connects the AxIpeDspCtrl image control to an image window in Sherlock.
 /// </summary>
 /// <param name="displayName">The name of the image window in Sherlock.</param>
 /// <param name="imgDisplay">A reference to the AxeIpeDspCtrl display control used.</param>
 public void ConnectDisplay(string displayName, AxIpeDspCtrl imgDisplay)
 {
     imgDisplay.ConnectEngine(_sherlock.GetEngineObj( ));
     imgDisplay.ConnectImgWindow(displayName);
 }