IIXC_Page::FilterMosaic Method

From PDF XChange PDF SDK
Jump to: navigation, search
(Parameters)
Line 18: Line 18:
 
:[in]  Specifies the height of the every square block. Value must be in range from 1 to 200.
 
:[in]  Specifies the height of the every square block. Value must be in range from 1 to 200.
 
;nType
 
;nType
:[in]  Specifies the type of filtering which may be one of the following [[PXV:IXC_MosaicTyp|IXC_MosaicTyp]].
+
:[in]  Specifies the type of filtering which may be one of the following [[PXV:IXC_MosaicType|IXC_MosaicType]].
  
 
== Return Value ==
 
== Return Value ==

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]  ULONG  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