Accusoft NotateXpress 13
SetClientWindow Method
An ImagXpress window handle.
Description
Connects NotateXpress to ImagXpress via an ImagXpress window handle.
Syntax
Visual Basic
Public Sub SetClientWindow( _
   ByVal hWnd As Long _
) 
Parameters
hWnd
An ImagXpress window handle.
Remarks

Setting the hWnd parameter to a valid window handle causes NotateXpress to query the window handle to determine if it is able to annotate it, and if it is, to establish an annotation connection with that control.

Setting the HWND parameter to a NULL value resets NotateXpress to a disconnected state and all existing layers are deleted.

To prevent potential memory and/or resource leaks, if NotateXpress is connected to an ImagXpress client it is important that you call this method with a NULL handle when you exit your program.

Example
'ConnectNotateXpresstoImagXpress
NotateXpress1.SetClientWindowImagXpress1.hwnd


'Whenyouaredone,disconnectNotateXpressandImagXpress
NotateXpress1.SetClientWindow0
See Also

NotateXpress Object  | NotateXpress Members  | Connecting to ImagXpress

 

 


©2015. Accusoft Corporation. All Rights Reserved.

Send Feedback