Sets the float value of a Data Element.
public bool SetFloatValue(
DicomElement element,
float value
)
Public Overloads Function SetFloatValue( _
ByVal element As DicomElement, _
ByVal value As Single _
) As Boolean
public:
bool SetFloatValue(
DicomElement^ element,
float value
)
element
An item in the Data Set.
value
The float value to set. If you want to set multiple values in the Value Field, use SetFloatValue or SetFloatValue
true if the float value was set successfully. false if could not set the float value of the Data Element.
This method can be called only if the Value Representation of the Data Element is DicomVRType.FL. For more information about Value Representations, refer to Default Value Representation Table.
SetFloatValue(DicomElement,IntPtr,Int32) Method
SetFloatValue(DicomElement,Single[],Int32) Method
SetIntValue(DicomElement,Int32[],Int32) Method
SetShortValue(DicomElement,Int16[],Int32) Method
SetByteValue(DicomElement,Byte[],Int32) Method
SetBinaryValue(DicomElement,Byte[],Int32) Method
SetStringValue(DicomElement,string) Method
SetStringValue(DicomElement,string,DicomCharacterSetType) Method
SetStringValue(DicomElement,string[]) Method
SetStringValue(DicomElement,string[],DicomCharacterSetType) Method
SetStringValuePtr(DicomElement,IntPtr,int) Method
SetStringValuePtr(DicomElement,IntPtr,int,DicomCharacterSetType) Method
SetDoubleValue(DicomElement,Double[],Int32) Method
SetDateValue(DicomElement,DicomDateValue[]) Method
SetTimeValue(DicomElement,DicomTimeValue[]) Method
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document