ImageGear Professional v18.2 > API Reference Guide > GUI Component API Reference > GUI Component Objects > IGGUIPanCtl Control > IGGUIPanCtl Methods > SetParentImage Method |
Gives the Magnifier control references to the ImageGear objects that it needs in order to display a magnified image of the parent image. The IGCoreCtl Control and IGDisplayCtl Control are the controls used within the application. The IGPageViewCtl Control is the particular image display control that is used for display of the parent image that this Magnifier control is associated with. The ParentHwnd is the HWND of the PageViewCtl used to display the parent image. Calling this method results in the magnified image being displayed in the Magnifier control.
SetParentImage(theCoreCtl As IGCoreCtl, theDisplayCtl As
IGDisplayCtl, ParentDisplay As IGPageDisplay, PageViewHwnd As
Long)
Name | Description |
---|---|
theCoreCtl | Specify the IGCoreCtl Control used by your application. |
theDisplayCtl | Specify the IGDisplayCtl Control used by your application. |
ParentDisplay | Specify the IGPageDisplay Object used to display the image that is to be magnified. |
PageViewHwnd | Specify the HWND of the IGPageViewCtl Control of the image that is to be magnified. |
None
N/A
ig_guiwin.vb6.exe