Leadtools.Dicom Requires Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
BitsAllocated Property
See Also 
Leadtools.Dicom Namespace > DicomImageInformation Class : BitsAllocated Property



Gets or sets the number of bits allocated for each pixel sample.

Syntax

Visual Basic (Declaration) 
Public ReadOnly Property BitsAllocated As Integer
Visual Basic (Usage)Copy Code
Dim instance As DicomImageInformation
Dim value As Integer
 
value = instance.BitsAllocated
C# 
public int BitsAllocated {get;}
C++/CLI 
public:
property int BitsAllocated {
   int get();
}

Return Value

Value that indicates the number of bits allocated for each pixel sample.

Example

For an example, refer to DicomDataSet.GetImage.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

Leadtools.Dicom requires a Medical toolkit server license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features