Leadtools.Dicom Requires Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.10.31
GetBinaryValue Method
See Also 
Leadtools.Dicom Namespace > DicomDataSet Class : GetBinaryValue Method




Updates a buffer with the binary value of the specified data element.

Overload List

OverloadDescription
GetBinaryValue(DicomElement,IntPtr,Int32) Updates a buffer with the binary value of the specified data element.  
GetBinaryValue(DicomElement,Byte[],Int32,Int32) Updates a buffer with the binary value of the specified data element.  
GetBinaryValue(DicomElement,Int32) Gets the binary value of the specified data element.  

Example

For an example, refer to SetIntValue.

Remarks

Note: The user is responsible to allocate the memory for the buffer pointed to by value.

If the length specified by the DicomElement.Length property is greater than length, then the binary value copied to the buffer will be truncated to the smaller length. If the the length specified by DicomElement.Length is less than length, then the entire binary value of element will be copied to the buffer.

This method can be called for every Value Representation, and it will return the exact value in the Value Field (unconverted).

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

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