IIXC_Page::FilterMosaic Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
m (Automatic page editing by robot) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
[[Category:Editor]] | [[Category:Editor]] | ||
{{#customTitle:IIXC_Page::FilterMosaic Method}} | {{#customTitle:IIXC_Page::FilterMosaic Method}} | ||
− | {{#parentPage:PXV:IIXC_Page#Methods|FilterMosaic | + | {{#parentPage:PXV:IIXC_Page#Methods|FilterMosaic|method}} |
{{ToWrite}} | {{ToWrite}} | ||
{{ToReview}} | {{ToReview}} | ||
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 nXAmount, |
− | [in] ULONG | + | [in] ULONG nYAmount, |
[in] IXC_MosaicType nType);</pre> | [in] IXC_MosaicType nType);</pre> | ||
== Parameters == | == Parameters == | ||
− | ; | + | ;nXAmount |
:[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. | ||
− | ; | + | ;nYAmount |
:[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 | ||
Line 25: | 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.