ImageGear Professional v18.2 > API Reference Guide > Display Component API Reference > Display Component Objects > IGPageDisplay Object > IGPageDisplay Methods > GetActualPaletteHandle Method |
Calculates all the display parameters, the way Draw Method does, and produces the same palette that Draw Method realizes before drawing onto hDC. It returns device palette if it is not set with a custom value.
GetActualPaletteHandle(hWnd As Long, hDC As Long) As Long
Name | Description |
---|---|
hWnd | Handle of window where image is displayed and where scrolling is performed. |
hDC | Handle of device context where image is drawn. |
Handle of HPALETTE created.
N/A
Display