Sets the float value of a Data Element.
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
)
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.
For an example, refer to SetIntValue.
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,DicomCharacterSetType) Method
SetStringValue(DicomElement,String[],DicomCharacterSetType) Method
SetStringValue(DicomElement,String) Method
SetStringValue(DicomElement,String[]) Method
SetStringValuePtr(DicomElement,IntPtr,Int32) Method
SetStringValuePtr(DicomElement,IntPtr,UInt32,DicomCharacterSetType) Method
SetDoubleValue(DicomElement,Double[],Int32) Method
SetDateValue(DicomElement,DicomDateValue[]) Method
SetTimeValue(DicomElement,DicomTimeValue[]) Method
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET