From Tracker Software PDF SDK
Revision as of 03:17, 15 June 2015 by Dsbot (Automatic page editing by robot)
The SetPixelIndex method sets the palette index for a specified pixel in an indexed page that has a palette.
HRESULT SetPixelIndex([in] LONG nX, [in] LONG nY, [in] LONG nIndex);
- [in] Specifies the x-coordinate of the pixel to be set.
- [in] Specifies the y-coordinate of the pixel to be set.
- [in] Specifies the zero-based index of the color in the page's palette.
Returns S_OK if operation was successful or error code in other cases.