IIXC_Page::FilterNoise Method
From PDF XChange PDF SDK
Line 2: | Line 2: | ||
{{#customTitle:IIXC_Page::FilterNoise Method}} | {{#customTitle:IIXC_Page::FilterNoise Method}} | ||
{{#parentPage:PXV:IIXC_Page|FilterNoise Method|method}} | {{#parentPage:PXV:IIXC_Page|FilterNoise Method|method}} | ||
− | + | ||
{{ToReview}} | {{ToReview}} | ||
Revision as of 05:50, 30 April 2015
The method applies Noise filter to the image page or its specified area.
Contents
Syntax
HRESULT FilterNoise([in] RECT* pRect, [in] ULONG nLevel, [in] ULONG nFlags);
Parameters
- pRect
- [in] Pointer to the RECT structure which defines the rectangular area where the function should be applied. If this parameter is NULL, the entire page will be processed.
Note:
Please note that partial processing of an area of a page is not supported for all image formats. For example, it is not supported for indexed images, because each pixel in such images contains not a color, but an index into a color table (palette) which is common for the entire page- nLevel
- [in] Specifies noise level.
- nFlags
- [in] Specifies the type of the filter. Could be one of the following IXC_NoiseType.
Return Value
Returns S_OK if operation was successful or error code in other cases.