Sets the binary value of an element.
public bool SetBinaryValue(
DicomElement element,
IntPtr value,
int length
)
Public Overloads Function SetBinaryValue( _
ByVal element As Leadtools.Dicom.DicomElement, _
ByVal value As IntPtr, _
ByVal length As Integer _
) As Boolean
public bool SetBinaryValue(
Leadtools.Dicom.DicomElement element,
IntPtr value,
int length
)
function Leadtools.Dicom.DicomDataSet.SetBinaryValue(DicomElement,IntPtr,Int32)(
element ,
value ,
length
)
public:
bool SetBinaryValue(
Leadtools.Dicom.DicomElement^ element,
IntPtr value,
int length
)
element
An item in the Data Set.
value
Buffer that contains the binary value to set.
length
Value that represents the length, in bytes, of the buffer you allocated.
true if the binary value of the Data Element was set successfully. false if could not set the binary value of the Data Element.
This method overwrites the value of the Data Element. The Value Length of the Data Element is then equal to length.
For an example, refer to SetIntValue.
SetBinaryValue(DicomElement,Byte[],Int32) Method
SetStringValue(DicomElement,String,DicomCharacterSetType) Method
SetStringValue(DicomElement,String[],DicomCharacterSetType) Method
SetStringValue(DicomElement,String) Method
SetStringValue(DicomElement,String[]) Method
SetStringValuePtr(DicomElement,IntPtr,Int32) Method
SetStringValuePtr(DicomElement,IntPtr,UInt32,DicomCharacterSetType) Method
SetShortValue(DicomElement,Int16[],Int32) Method
SetIntValue(DicomElement,Int32[],Int32) Method
SetFloatValue(DicomElement,Single[],Int32) Method
SetDoubleValue(DicomElement,Double[],Int32) Method
SetDateValue(DicomElement,DicomDateValue[]) Method
SetTimeValue(DicomElement,DicomTimeValue[]) Method
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