IIXC_Page::SetPixelIndex Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
m (Automatic page editing by robot) |
||
Line 23: | Line 23: | ||
== See Also == | == See Also == | ||
− | + | [[PXV:IIXC_Page|IIXC_Page]] | |
− | + | ||
− | + | ||
− | + |
Revision as of 03:05, 23 May 2015
The SetPixelIndex method sets the palette index for a specified pixel in an indexed page that has a palette.
Syntax
HRESULT SetPixelIndex([in] LONG ptX, [in] LONG ptY, [in] LONG nIndex);
Parameters
- ptX
- [in] Specifies the x-coordinate of the pixel to be set.
- ptY
- [in] Specifies the y-coordinate of the pixel to be set.
- nIndex
- [in] Specifies the zero-based index of the color in the page's palette.
Return Value
Returns S_OK if operation was successful or error code in other cases.