IIXC_Page::FilterMosaic Method

From PDF XChange PDF SDK
Jump to: navigation, search
(Parameters)
(Syntax)
Line 8: Line 8:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT FilterMosaic([in]  ULONG xAmount,
+
<pre class="brush:cpp;gutter:false">HRESULT FilterMosaic([in]  ULONG           xAmount,
                     [in]  ULONG yAmount,
+
                     [in]  ULONG           yAmount,
                     [in]  ULONG nType);</pre>
+
                     [in]  IXC_MosaicType nType);</pre>
  
 
== Parameters ==
 
== Parameters ==

Revision as of 15:39, 18 May 2015


The method clumps pixels into square blocks. The pixels in a given block will be the same color, and the colors of the blocks are based on the colors in the image.

Syntax

HRESULT FilterMosaic([in]  ULONG           xAmount,
                     [in]  ULONG           yAmount,
                     [in]  IXC_MosaicType  nType);

Parameters

xAmount
[in] Specifies the width of the every square block. Value must be in range from 1 to 200.
yAmount
[in] Specifies the height of the every square block. Value must be in range from 1 to 200.
nType
[in] Specifies the type of filtering which may be one of the following IXC_MosaicType.

Return Value

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

See Also

IIXC_Page
IIXC_Page::FilterMedian
IIXC_Page::FilterNoise
IIXC_Page::StdMatrixFilter
IXC_MosaicType