'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;
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.