←Select platform

SetFloatValue(DicomElement,float) Method

Summary
Sets the float value of a Data Element.
Syntax
C#
VB
C++
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 
)  

Parameters

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

Return Value

true if the float value was set successfully. false if could not set the float value of the Data Element.

Remarks

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.

Example

For an example, refer to SetIntValue.

Requirements

Target Platforms

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

Leadtools.Dicom Assembly