ImageGear Professional for Windows ActiveX
SetParentImage Method

Description:

Associates the IGGUIPaletteCtl Control with a particular ImageGear image. If you don't call this subroutine, then the IGGUIPaletteCtl Control will simply appear as 256 white squares and will not react to mouse events.

Syntax:

      SetParentImage(theCoreCtl As IGCoreCtl, theDisplayCtl As
IGDisplayCtl, ParentDisplay As IGPageDisplay, ParentHwnd As
Long)

Parameters:

Name Description
theCoreCtl The IGCoreCtl Control used by your application program.
theDisplayCtl The IGDisplayCtl Control used by your application program.
ParentDisplay The IGPageDisplay Object used to control the display of the image in any IGPage Object. The palette of the image in this particular IGPage Object is the one that will be shown in the IGGUIPaletteCtl.
ParentHwnd The hWnd, if any, in which the image is being displayed. This may be set to 0, or IGPageViewCtl Controln.hWnd or IGDocumentViewCtl.hWnd. If you specify 0, then changes to the image palette will not cause the image to be re-drawn on the screen (and the user will not see the changes until the next time the image is re-drawn for other reasons).

Return Value:

None

Bits Per Pixel:

N/A

Sample:

ig_guiwin.vb6.exe

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback