ImageMan.Net Version 3 Summer 2012 Release
PixelFormatBitDepth Method
See Also  Send Feedback
DTI.ImageMan Namespace > ImageInfo Class : PixelFormatBitDepth Method





pixelFormat

Glossary Item Box

Utility function returns bit depth for a pixelFormat

Syntax

Visual Basic (Declaration) 
Public Shared Function PixelFormatBitDepth( _
   ByVal pixelFormat As PixelFormat _
) As System.Integer
Visual Basic (Usage)Copy Code
Dim pixelFormat As PixelFormat
Dim value As System.Integer
 
value = ImageInfo.PixelFormatBitDepth(pixelFormat)
C# 
public static System.int PixelFormatBitDepth( 
   PixelFormat pixelFormat
)
JScript 
public static function PixelFormatBitDepth( 
   pixelFormat : PixelFormat
) : System.int;
Managed Extensions for C++ 
public: static System.int PixelFormatBitDepth( 
   PixelFormat pixelFormat
) 
C++/CLI 
public:
static System.int PixelFormatBitDepth( 
   PixelFormat pixelFormat
) 

Parameters

pixelFormat

Remarks

Returns 24 bit by default if undefined

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© 2014 Data Techniques, Inc. All Rights Reserved.