IIXC_Page::CountColorsEx Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
m (Automatic page editing by robot)
Line 7: Line 7:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT CountColorsEx([in]          RECT*  stRect,
+
<pre class="brush:cpp;gutter:false">HRESULT CountColorsEx([in]          RECT*  Rect,
                       [out, retval]  ULONG*  nCount);</pre>
+
                       [out, retval]  ULONG*  Count);</pre>
  
 
== Parameters ==
 
== Parameters ==
;stRect
+
;Rect
 
:[in]  Pointer to RECT structure which defines the rectangular area where the function should be applied. If this parameter is NULL, the entire page will be processed.
 
:[in]  Pointer to RECT structure which defines the rectangular area where the function should be applied. If this parameter is NULL, the entire page will be processed.
;nCount
+
;Count
 
:[out, retval]  Pointer to the variable which will contain the color count.
 
:[out, retval]  Pointer to the variable which will contain the color count.
  

Revision as of 06:50, 12 June 2015

The method retrieves the color count for the page or rectangular section.

Syntax

HRESULT CountColorsEx([in]           RECT*   Rect,
                      [out, retval]  ULONG*  Count);

Parameters

Rect
[in] Pointer to RECT structure which defines the rectangular area where the function should be applied. If this parameter is NULL, the entire page will be processed.
Count
[out, retval] Pointer to the variable which will contain the color count.

Return Value

Returns S_OK if operation was successful or error code in other cases.

See Also

IIXC_Page