GdPicture.NET.14
GdPicture14 Namespace / GdPictureImaging Class / GetAlphaChannel Method
GdPicture image identifier.
Output parameter. The Alpha channel data.
The left source pixel of the area.
The top source pixel of the area.
The width of the area in pixel.
The height of the area in pixel.





In This Topic
GetAlphaChannel Method (GdPictureImaging)
In This Topic
Stores into a byte array the Alpha channel values of a GdPicture image or a portion of it.
Syntax
'Declaration
 
Public Function GetAlphaChannel( _
   ByVal ImageID As Integer, _
   ByRef Alpha() As Byte, _
   ByVal SrcLeft As Integer, _
   ByVal SrcTop As Integer, _
   ByVal Width As Integer, _
   ByVal Height As Integer _
) As GdPictureStatus
public GdPictureStatus GetAlphaChannel( 
   int ImageID,
   ref byte[] Alpha,
   int SrcLeft,
   int SrcTop,
   int Width,
   int Height
)
public function GetAlphaChannel( 
    ImageID: Integer;
   var  Alpha: Bytearray of;
    SrcLeft: Integer;
    SrcTop: Integer;
    Width: Integer;
    Height: Integer
): GdPictureStatus; 
public function GetAlphaChannel( 
   ImageID : int,
   Alpha : byte[],
   SrcLeft : int,
   SrcTop : int,
   Width : int,
   Height : int
) : GdPictureStatus;
public: GdPictureStatus GetAlphaChannel( 
   int ImageID,
   ref byte[]* Alpha,
   int SrcLeft,
   int SrcTop,
   int Width,
   int Height
) 
public:
GdPictureStatus GetAlphaChannel( 
   int ImageID,
   array<byte>^% Alpha,
   int SrcLeft,
   int SrcTop,
   int Width,
   int Height
) 

Parameters

ImageID
GdPicture image identifier.
Alpha
Output parameter. The Alpha channel data.
SrcLeft
The left source pixel of the area.
SrcTop
The top source pixel of the area.
Width
The width of the area in pixel.
Height
The height of the area in pixel.

Return Value

A member of the GdPictureStatus enumeration.
See Also