IIXC_Page::FilterMosaic Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
m (Automatic page editing by robot) |
||
(11 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
+ | __NOTOC__ | ||
[[Category:Editor]] | [[Category:Editor]] | ||
{{#customTitle:IIXC_Page::FilterMosaic Method}} | {{#customTitle:IIXC_Page::FilterMosaic Method}} | ||
− | {{#parentPage:PXV:IIXC_Page|method}} | + | {{#parentPage:PXV:IIXC_Page#Methods|FilterMosaic|method}} |
{{ToWrite}} | {{ToWrite}} | ||
{{ToReview}} | {{ToReview}} | ||
− | The method of | + | 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 == | == Syntax == | ||
− | <pre class="brush:cpp;gutter:false">HRESULT FilterMosaic([in] ULONG | + | <pre class="brush:cpp;gutter:false">HRESULT FilterMosaic([in] ULONG nXAmount, |
+ | [in] ULONG nYAmount, | ||
+ | [in] IXC_MosaicType nType);</pre> | ||
== Parameters == | == Parameters == | ||
− | ; | + | ;nXAmount |
− | :[in] | + | :[in] Specifies the width of the every square block. Value must be in range from 1 to 200. |
− | ; | + | ;nYAmount |
− | :[in] | + | :[in] Specifies the height of the every square block. Value must be in range from 1 to 200. |
− | ; | + | ;nType |
− | :[in] | + | :[in] Specifies the type of filtering which may be one of the following [[PXV:IXC_MosaicType|IXC_MosaicType]]. |
== Return Value == | == Return Value == | ||
Line 22: | Line 25: | ||
== See Also == | == See Also == | ||
− | + | [[PXV:IIXC_Page|IIXC_Page]] |
Latest revision as of 03:16, 15 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 nXAmount, [in] ULONG nYAmount, [in] IXC_MosaicType nType);
Parameters
- nXAmount
- [in] Specifies the width of the every square block. Value must be in range from 1 to 200.
- nYAmount
- [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.