Accusoft ImagXpress 12
IPGetColorPlane Method
See Also  Send comments on this topic.
Index

Which of the separation images returned.

The minimum index is 0.

The maximum index is 3

The type of component the DIB contains will be determined by the IPSeparationType parameter specified in the call to the ColorSeparation method.

Index Value Description
0 The DIB will contain the red, hue or cyan component of the image.
1 The DIB will contain the green, saturation or magenta component of the image.
2 The DIB will contain the blue, luminance, or yellow component of the image.
3 The DIB will contain the black or alpha channel component of the image.

AccusoftImagXpress12 ActiveX DLL > ImagXpress Object : IPGetColorPlane Method

Glossary Item Box

Description

Returns a handle to one of the four gray scale DIBs created by the last call to the ColorSeparation method.

Syntax

Visual Basic
Public Function IPGetColorPlane( _
   ByVal Index As Integer _
) As Long

Parameters

Index

Which of the separation images returned.

The minimum index is 0.

The maximum index is 3

The type of component the DIB contains will be determined by the IPSeparationType parameter specified in the call to the ColorSeparation method.

Index Value Description
0 The DIB will contain the red, hue or cyan component of the image.
1 The DIB will contain the green, saturation or magenta component of the image.
2 The DIB will contain the blue, luminance, or yellow component of the image.
3 The DIB will contain the black or alpha channel component of the image.

Return Type

A global handle to a DIB.

Remarks

Once the plane is returned, it is set to NULL and the calling application is responsible for freeing the handle using the GlobalFree API call. If it is assigned to another ImagXpress control that has the OwnDIB property set to true, the control handles freeing the memory.

See Also

©2013. Accusoft Corporation. All Rights Reserved.