IXC_Channel Enumeration

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
__NOTOC__
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IXC_Channel Enumeration}}
 
{{#customTitle:IXC_Channel Enumeration}}
{{#parentPage:PXV:IXC|IXC_Channel Enumeration|enum}}
+
{{#parentPage:PXV:IXC_Enumerations|IXC_Channel|enum}}
 
+
{{ToReview}}
+
  
 
The '''IXC_Channel''' enumeration specifies the channel to which the function should be applied.
 
The '''IXC_Channel''' enumeration specifies the channel to which the function should be applied.
Line 10: Line 9:
 
<pre class="brush:cpp;gutter:false">enum IXC_Channel
 
<pre class="brush:cpp;gutter:false">enum IXC_Channel
 
{
 
{
     Channel_B    = 0;
+
     Channel_B    = 0,
     Channel_G    = 1;
+
     Channel_G    = 1,
     Channel_R    = 2;
+
     Channel_R    = 2,
     Channel_A    = 3;
+
     Channel_A    = 3,
     Channel_Gray = 0;
+
     Channel_Gray = 0,
 
};
 
};
 
</pre>
 
</pre>
Line 22: Line 21:
 
:Indicates that the function must be applied to the Blue channel of the page.
 
:Indicates that the function must be applied to the Blue channel of the page.
 
;Channel_G
 
;Channel_G
:Indicates that the function must be applied to the Green channel of the page. If the page doesn't contain a green channel (for example is grayscaled), the corresponding function will fails.
+
:Indicates that the function must be applied to the Green channel of the page. If the page doesn't contain a green channel (for example if it is grayscale), the corresponding function will fail.
 
;Channel_R
 
;Channel_R
:Indicates that the function must be applied to the Red channel of the page. If the page doesn't contain a red channel (for example is grayscaled), the corresponding function will fails.
+
:Indicates that the function must be applied to the Red channel of the page. If the page doesn't contain a red channel (for example if it is grayscale), the corresponding function will fail.
 
;Channel_A
 
;Channel_A
:Indicates that the function must be applied to the Alpha channel of the page. If the page doesn't contain an Alpha channel, the corresponding function will fails.
+
:Indicates that the function must be applied to the Alpha channel of the page. If the page doesn't contain an Alpha channel, the corresponding function will fail.
 
;Channel_Gray
 
;Channel_Gray
:Indicates that the function must be applied to the Gray channel of the page, and used only for grayscaled pages.
+
:Indicates that the function must be applied to the Gray channel of the page, and is used only for grayscale pages.
  
 
== See Also ==
 
== See Also ==
:[[PXV:IIXC_Page_CopyChannel|IIXC_Page::CopyChannel]]
+
[[PXV:IIXC_Page_CopyChannel|IIXC_Page::CopyChannel]], [[PXV:IIXC_Page_FillChannel|IIXC_Page::FillChannel]], [[PXV:IIXC_Page_GetChannelPixel|IIXC_Page::GetChannelPixel]], [[PXV:IIXC_Page_InvertChannel|IIXC_Page::InvertChannel]], [[PXV:IIXC_Page_SetChannelPixel|IIXC_Page::SetChannelPixel]]
:[[PXV:IIXC_Page_FillChannel|IIXC_Page::FillChannel]]
+
:[[PXV:IIXC_Page_GetChannelPixel|IIXC_Page::GetChannelPixel]]
+
:[[PXV:IIXC_Page_InvertChannel|IIXC_Page::InvertChannel]]
+
:[[PXV:IIXC_Page_SetChannelPixel|IIXC_Page::SetChannelPixel]]
+

Latest revision as of 09:33, 23 May 2015

The IXC_Channel enumeration specifies the channel to which the function should be applied.

Syntax

enum IXC_Channel
{
    Channel_B    = 0,
    Channel_G    = 1,
    Channel_R    = 2,
    Channel_A    = 3,
    Channel_Gray = 0,
};

Constants

Channel_B
Indicates that the function must be applied to the Blue channel of the page.
Channel_G
Indicates that the function must be applied to the Green channel of the page. If the page doesn't contain a green channel (for example if it is grayscale), the corresponding function will fail.
Channel_R
Indicates that the function must be applied to the Red channel of the page. If the page doesn't contain a red channel (for example if it is grayscale), the corresponding function will fail.
Channel_A
Indicates that the function must be applied to the Alpha channel of the page. If the page doesn't contain an Alpha channel, the corresponding function will fail.
Channel_Gray
Indicates that the function must be applied to the Gray channel of the page, and is used only for grayscale pages.

See Also

IIXC_Page::CopyChannel, IIXC_Page::FillChannel, IIXC_Page::GetChannelPixel, IIXC_Page::InvertChannel, IIXC_Page::SetChannelPixel