←Select platform

SetFloatValue(DicomElement,float) Method

Summary

Sets the float value of a Data Element.

Syntax

C#
VB
WinRT C#
C++
public bool SetFloatValue( 
   DicomElement element, 
   float value 
) 
Public Overloads Function SetFloatValue( _ 
   ByVal element As Leadtools.Dicom.DicomElement, _ 
   ByVal value As Single _ 
) As Boolean 
public bool SetFloatValue(  
   Leadtools.Dicom.DicomElement element, 
   float value 
) 
 function Leadtools.Dicom.DicomDataSet.SetFloatValue(DicomElement,Single)(  
   element , 
   value  
) 
public: 
bool SetFloatValue(  
   Leadtools.Dicom.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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom Assembly