ImageGear Professional for Windows ActiveX
GetActualPaletteHandle Method

Description:

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.

Syntax:

      GetActualPaletteHandle(hWnd As Long, hDC As Long) As Long

Parameters:

Name Description
hWnd Handle of window where image is displayed and where scrolling is performed.
hDC Handle of device context where image is drawn.

Return Value:

Handle of HPALETTE created.

Bits Per Pixel:

N/A

Sample:

Display

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback