From Tracker Software PDF SDK
Revision as of 02:17, 15 June 2015 by Dsbot (Automatic page editing by robot)
The SetPixel method sets the color of the specified pixel in the page.
HRESULT SetPixel([in] LONG nX, [in] LONG nY, [in] ULONG nColor, [in] ULONG nFlags);
- [in] Specifies the X coordinate of the pixel. The value should be in the range (0, Width - 1), where Width is the width of the image.
- [in] Specifies the Y coordinate of the pixel. The value should be in the range (0, Height - 1), where Height is the height of the image.
- [in] Specifies the new color of the pixel.
- [in] Combination of IXC_ColorFlags which specifies how the data will be copied.
Returns S_OK if operation was successful or error code in other cases.