←Select platform

SetBinaryValue(DicomElement,IntPtr,int) Method

Summary
Sets the binary value of an element.
Syntax
C#
C++/CLI
public bool SetBinaryValue( 
   DicomElement element, 
   IntPtr value, 
   int length 
) 
public: 
bool SetBinaryValue(  
   DicomElement^ element, 
   IntPtr value, 
   int length 
)  

Parameters

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.

Return Value

true if the binary value of the Data Element was set successfully. false if 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 length.

Requirements

Target Platforms

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

Leadtools.Dicom Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.