dcmNET Class Library

DicomElement.GetValueAsInt Method 

Retrieve the index value of the dicom element as an

int
.

[Visual Basic]
Public Function GetValueAsInt( _
   ByVal index As Integer _
) As Integer
[C#]
public int GetValueAsInt(
   int index
);

Parameters

index
The index.

Return Value

The value if VR is equals to SL, UL, SS, IS otherwise 0.

See Also

DicomElement Class | dcmNET Namespace