Gets the binary value of the specified data element.
public byte[] GetBinaryValue(
DicomElement element,
int length
)
Public Overloads Function GetBinaryValue( _
ByVal element As DicomElement, _
ByVal length As Integer _
) As Byte()
public:
array<byte>^ GetBinaryValue(
DicomElement^ element,
int length
)
element
An item in the Data Set.
length
Number of bytes, from the binary value, to retrieve.
Buffer that contains the binary value associated with the specified item in the Data Set, or null if the method couldn't get the binary value.
If the length specified by the DicomElement.Length property is greater than [length](" id="lengthparameterlink" class="popuplink.html), then the binary value returned will be truncated to the smaller length. If the length specified by DicomElement.Length is less than [length](" id="lengthparameterlink" class="popuplink.html), then the entire binary value of element will be returned. This method can be called for every Value Representation, and it will return the exact value in the Value Field (unconverted).
GetBinaryValue(DicomElement,IntPtr,Int32) Method
GetBinaryValue(DicomElement,Byte[],Int32,Int32) Method
GetByteValue(DicomElement,Int32,Int32) Method
GetShortValue(DicomElement,Int32,Int32) Method
GetLongValue(DicomElement,Int32,Int32) Method
GetIntValue(DicomElement,Int32,Int32) Method
GetFloatValue(DicomElement,Int32,Int32) Method
GetDoubleValue(DicomElement,Int32,Int32) Method
GetAgeValue(DicomElement,Int32,Int32) Method
GetDateValue(DicomElement,Int32,Int32) Method
GetTimeValue(DicomElement,Int32,Int32) Method
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document