IIXC_Page::CountColorsEx Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 +
__NOTOC__
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IIXC_Page::CountColorsEx Method}}
 
{{#customTitle:IIXC_Page::CountColorsEx Method}}
{{#parentPage:PXV:IIXC_Page|CountColorsEx Method|method}}
+
{{#parentPage:PXV:IIXC_Page#Methods|CountColorsEx|method}}
{{ToWrite}}
+
{{ToReview}}
+
  
The method retrieves color count for the page.
+
The method retrieves the color count for the page or rectangular section.
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT CountColorsEx([in]          RECT*  pRect,
+
<pre class="brush:cpp;gutter:false">HRESULT CountColorsEx([in]          RECT*  stRect,
                       [out, retval]  ULONG*  pCount);</pre>
+
                       [out, retval]  ULONG*  nCount);</pre>
  
 
== Parameters ==
 
== Parameters ==
;pRect
+
;stRect
 
:[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.
;pCount
+
;nCount
:[out, retval]  Pointer to the variable which will be has colors count.
+
:[out, retval]  Pointer to the variable which will contain the color count.
  
 
== Return Value ==
 
== Return Value ==
Line 21: Line 20:
  
 
== See Also ==
 
== See Also ==
:[[PXV:IIXC_Page|IIXC_Page]]
+
[[PXV:IIXC_Page|IIXC_Page]]
:[[PXV:IIXC_Page_CountColors|PXV:IIXC_Page::CountColors]]
+

Latest revision as of 02:16, 15 June 2015

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

Syntax

HRESULT CountColorsEx([in]           RECT*   stRect,
                      [out, retval]  ULONG*  nCount);

Parameters

stRect
[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
[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