IIXC_Page::SetPixelIndex Method

From Tracker Software PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
m (Automatic page editing by robot)
Line 9: Line 9:
 
<pre class="brush:cpp;gutter:false">HRESULT SetPixelIndex([in]  LONG  nX,
 
<pre class="brush:cpp;gutter:false">HRESULT SetPixelIndex([in]  LONG  nX,
 
                       [in]  LONG  nY,
 
                       [in]  LONG  nY,
                       [in]  LONG  nIndex);</pre>
+
                       [in]  LONG  Index);</pre>
  
 
== Parameters ==
 
== Parameters ==
Line 16: Line 16:
 
;nY
 
;nY
 
:[in]  Specifies the y-coordinate of the pixel to be set.
 
:[in]  Specifies the y-coordinate of the pixel to be set.
;nIndex
+
;Index
 
:[in]  Specifies the zero-based index of the color in the page's palette.
 
:[in]  Specifies the zero-based index of the color in the page's palette.
  

Revision as of 05:51, 12 June 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  nX,
                      [in]  LONG  nY,
                      [in]  LONG  Index);

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.
Index
[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