Gets the binary value of the specified data element.
public byte[] GetBinaryValue(
Leadtools.Dicom.DicomElement element,
int length
)
Public Overloads Function GetBinaryValue( _
ByVal element As Leadtools.Dicom.DicomElement, _
ByVal length As Integer _
) As Byte()
public byte[] GetBinaryValue(
Leadtools.Dicom.DicomElement element,
int length
)
public byte[] getBinaryValue(DicomElement element, int length)
function Leadtools.Dicom.DicomDataSet.GetBinaryValue(DicomElement,Int32)(
element ,
length
)
public:
array<byte>^ GetBinaryValue(
Leadtools.Dicom.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), 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), 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).
For an example, refer to SetIntValue.
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
Products |
Support |
Feedback: GetBinaryValue(DicomElement,Int32) Method - Leadtools.Dicom |
Introduction |
Help Version 19.0.2017.6.16
|
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.