IIXC_Page::CountColorsEx Method

From PDF XChange PDF SDK
Jump to: navigation, search
Line 3: Line 3:
 
{{#parentPage:PXV:IIXC_Page|CountColorsEx Method|method}}
 
{{#parentPage:PXV:IIXC_Page|CountColorsEx Method|method}}
  
{{ToReview}}
 
  
The method retrieves color count for the page.
+
The method retrieves the color count for the page or rectangular section.
  
 
== Syntax ==
 
== Syntax ==
Line 15: Line 14:
 
:[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
 
;pCount
:[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 ==

Revision as of 12:41, 17 May 2015


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

Syntax

HRESULT CountColorsEx([in]           RECT*   pRect,
                      [out, retval]  ULONG*  pCount);

Parameters

pRect
[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
[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
PXV:IIXC_Page::CountColors