Leadtools Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.3.5
IsValidBitsPerPixelGdiPlus Method
See Also 
Leadtools Namespace > RasterImage Class : IsValidBitsPerPixelGdiPlus Method




bitsPerPixel
The input bits per pixel value.
Determines whether or not the specified bits per pixel value supported by LEAD is compatible with GDI+.

Syntax

Visual Basic (Declaration) 
Public Shared Function IsValidBitsPerPixelGdiPlus( _
   ByVal bitsPerPixel As Integer _
) As Boolean
Visual Basic (Usage)Copy Code
Dim bitsPerPixel As Integer
Dim value As Boolean
 
value = RasterImage.IsValidBitsPerPixelGdiPlus(bitsPerPixel)
C# 
public static bool IsValidBitsPerPixelGdiPlus( 
   int bitsPerPixel
)
Managed Extensions for C++ 
public: static bool IsValidBitsPerPixelGdiPlus( 
   int bitsPerPixel
) 
C++/CLI 
public:
static bool IsValidBitsPerPixelGdiPlus( 
   int bitsPerPixel
) 

Parameters

bitsPerPixel
The input bits per pixel value.

Return Value

true if bitsPerPixel is compatible with GDI+, false otherwise.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also