IIXC_Page::FilterNoise Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
m (Automatic page editing by robot)
Line 7: Line 7:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT FilterNoise([in]  RECT*  stRect,
+
<pre class="brush:cpp;gutter:false">HRESULT FilterNoise([in]  RECT*  Rect,
                     [in]  ULONG  nLevel,
+
                     [in]  ULONG  Level,
                     [in]  ULONG  nFlags);</pre>
+
                     [in]  ULONG  Flags);</pre>
  
 
== Parameters ==
 
== Parameters ==
;stRect
+
;Rect
 
:[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.
 
:[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 pixels in such images do not contain a color, but an index into a color table (or palette) which is common for the entire page}}
 
{{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 pixels in such images do not contain a color, but an index into a color table (or palette) which is common for the entire page}}
;nLevel
+
;Level
 
:[in]  Specifies noise level.
 
:[in]  Specifies noise level.
;nFlags
+
;Flags
 
:[in]  Specifies the type of the filter. Could be one of the following [[PXV:IXC_NoiseType|Noise types]].
 
:[in]  Specifies the type of the filter. Could be one of the following [[PXV:IXC_NoiseType|Noise types]].
  

Revision as of 06:50, 12 June 2015

The method applies Noise filter to the image page or its specified area.

Syntax

HRESULT FilterNoise([in]  RECT*  Rect,
                    [in]  ULONG  Level,
                    [in]  ULONG  Flags);

Parameters

Rect
[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 pixels in such images do not contain a color, but an index into a color table (or palette) which is common for the entire page
Level
[in] Specifies noise level.
Flags
[in] Specifies the type of the filter. Could be one of the following Noise types.

Return Value

Returns S_OK if operation was successful or error code in other cases.

See Also

IIXC_Page