IIXC_Page::FilterMosaic Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
m (Automatic page editing by robot) |
||
Line 9: | Line 9: | ||
== Syntax == | == Syntax == | ||
− | <pre class="brush:cpp;gutter:false">HRESULT FilterMosaic([in] ULONG | + | <pre class="brush:cpp;gutter:false">HRESULT FilterMosaic([in] ULONG xAmount, |
− | [in] ULONG | + | [in] ULONG yAmount, |
− | [in] IXC_MosaicType | + | [in] IXC_MosaicType Type);</pre> |
== Parameters == | == Parameters == | ||
− | ; | + | ;xAmount |
:[in] Specifies the width of the every square block. Value must be in range from 1 to 200. | :[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. | :[in] Specifies the height of the every square block. Value must be in range from 1 to 200. | ||
− | ; | + | ;Type |
:[in] Specifies the type of filtering which may be one of the following [[PXV:IXC_MosaicType|IXC_MosaicType]]. | :[in] Specifies the type of filtering which may be one of the following [[PXV:IXC_MosaicType|IXC_MosaicType]]. | ||
Revision as of 06:50, 12 June 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 Type);
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.
- Type
- [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.