GdPicture.NET.14
GdPicture14 Namespace / GdPictureImaging Class / SetAlphaChannel Method
GdPicture image identifier.
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
SetAlphaChannel Method (GdPictureImaging)
In This Topic
Sets the Alpha channel of a GdPicture image.
Syntax
'Declaration
 
Public Function SetAlphaChannel( _
   ByVal ImageID As Integer, _
   ByVal Alpha() As Byte, _
   ByVal SrcLeft As Integer, _
   ByVal SrcTop As Integer, _
   ByVal Width As Integer, _
   ByVal Height As Integer _
) As GdPictureStatus
public GdPictureStatus SetAlphaChannel( 
   int ImageID,
   byte[] Alpha,
   int SrcLeft,
   int SrcTop,
   int Width,
   int Height
)
public function SetAlphaChannel( 
    ImageID: Integer;
    Alpha: Bytearray of;
    SrcLeft: Integer;
    SrcTop: Integer;
    Width: Integer;
    Height: Integer
): GdPictureStatus; 
public function SetAlphaChannel( 
   ImageID : int,
   Alpha : byte[],
   SrcLeft : int,
   SrcTop : int,
   Width : int,
   Height : int
) : GdPictureStatus;
public: GdPictureStatus SetAlphaChannel( 
   int ImageID,
   byte[]* Alpha,
   int SrcLeft,
   int SrcTop,
   int Width,
   int Height
) 
public:
GdPictureStatus SetAlphaChannel( 
   int ImageID,
   array<byte>^ Alpha,
   int SrcLeft,
   int SrcTop,
   int Width,
   int Height
) 

Parameters

ImageID
GdPicture image identifier.
Alpha
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.
Remarks

This method requires the Image Documents component to run.

See Also