←Select platform

SetBinaryValue(DicomElement,Stream) Method

Summary
Sets the binary value of an element.
Syntax
C#
C++
public bool SetBinaryValue( 
   DicomElement element, 
   Stream stream 
) 
public: 
bool SetBinaryValue(  
   DicomElement^ element, 
   Stream^ stream 
)  

Parameters

element
An item in the Data Set.

stream
A Stream that contains the binary value to set.

Return Value

True if the binary value of the Data Element was set successfully. false, if it could not set the binary value of the Data Element.

Remarks

This method overwrites the value of the Data Element. The Value Length of the Data Element is then equal to the stream length.

Requirements

Target Platforms

Help Version 22.0.2022.4.4
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2022 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom Assembly