GdPicture.NET.14.API
GdPicture14 Namespace / GdPictureImaging Class / SetTransparency Method
GdPicture image identifier.
Value between -255 and 255. 255 means full opacity and -255 means full transparency.





In This Topic
SetTransparency Method (GdPictureImaging)
In This Topic
Adds transparency to a GdPicture image or into an area of a GdPicture image defined by SetROI() method.
Syntax
'Declaration
 
Public Function SetTransparency( _
   ByVal ImageID As Integer, _
   ByVal TransparencyValue As Integer _
) As GdPictureStatus
public GdPictureStatus SetTransparency( 
   int ImageID,
   int TransparencyValue
)
public function SetTransparency( 
    ImageID: Integer;
    TransparencyValue: Integer
): GdPictureStatus; 
public function SetTransparency( 
   ImageID : int,
   TransparencyValue : int
) : GdPictureStatus;
public: GdPictureStatus SetTransparency( 
   int ImageID,
   int TransparencyValue
) 
public:
GdPictureStatus SetTransparency( 
   int ImageID,
   int TransparencyValue
) 

Parameters

ImageID
GdPicture image identifier.
TransparencyValue
Value between -255 and 255. 255 means full opacity and -255 means full transparency.

Return Value

A member of the GdPictureStatus enumeration.
Remarks

This method requires the Image Documents component to run.

See Also