GdPicture.NET.14
GdPicture14 Namespace / GdPictureImaging Class / HasTransparency Method
GdPicture image identifier.





In This Topic
HasTransparency Method (GdPictureImaging)
In This Topic
Detects a GdPicture image or the area defined by SetROI() method has pixel with non fully opaque alpha channel.
Syntax
'Declaration
 
Public Function HasTransparency( _
   ByVal ImageID As Integer _
) As Boolean
public bool HasTransparency( 
   int ImageID
)
public function HasTransparency( 
    ImageID: Integer
): Boolean; 
public function HasTransparency( 
   ImageID : int
) : boolean;
public: bool HasTransparency( 
   int ImageID
) 
public:
bool HasTransparency( 
   int ImageID
) 

Parameters

ImageID
GdPicture image identifier.

Return Value

True if transparent pixel are detected, else False.
Remarks

This method requires the Image Documents component to run.

Use the GetStat() method to check if this method has completed successfully.
See Also