Accusoft NotateXpress 13
InterfaceConnect Method
An IUnknown interface pointer.
Description
Connects NotateXpress to ImagXpress via an IUnknown interface pointer.
Syntax
Visual Basic
Public Function InterfaceConnect( _
   ByVal punk As Unknown _
) As Boolean
Parameters
punk
An IUnknown interface pointer.
Return Type
If NotateXpress and ImagXpress are connected.
Remarks

This method does the same thing as setting the Client property or calling the SetClientWindow method. It is designed for applications where neither of these other methods can be used.

Note: The most likely time you will need to use this method is when you are using ImagXpess and NotateXpress by reference and ImagXpress either cannot have a window or you do not want ImagXpress to have a window.

Example
'DynamicallycreateImagXpressandNotateXpress
DimWithEventsixAsPegasusImagingActiveXImagXpress9.ImagXpress
DimWithEventsnxAsAccusoftNotateXpress13.NotateXpress

Setix=NewPegasusImagingActiveXImagXpress9.ImagXpress
Setnx=NewAccusoftNotateXpress13.NotateXpress

'CreateawindowforImagXpresstodrawupon
ix.CreateCtlWindowMainForm.hWnd,10,10,1000,1000

'Theauthorstronglysuggestsusingthisconnectionmethodwhennootheroptionexists.
nx.InterfaceConnectix

'Thepreferedwayistouse:
'nx.SetClientWindowix.hWnd
See Also

NotateXpress Object  | NotateXpress Members  | Connecting to ImagXpress

 

 


©2018. Accusoft Corporation. All Rights Reserved.

Send Feedback