IIXC_Page::SetPixelIndex Method

From PDF XChange PDF SDK
Revision as of 02:17, 15 June 2015 by Dsbot (Talk | contribs) (Automatic page editing by robot)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The SetPixelIndex method sets the palette index for a specified pixel in an indexed page that has a palette.

Syntax

HRESULT SetPixelIndex([in]  LONG  nX,
                      [in]  LONG  nY,
                      [in]  LONG  nIndex);

Parameters

nX
[in] Specifies the x-coordinate of the pixel to be set.
nY
[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.

See Also

IIXC_Page