RefSamplePositions property (IDicomWaveformAnnotation Interface)

VB.NET example

C# example

Visual Basic example

Visual C++ 6.0 example

 

Syntax

long RefSamplePositions(long lIndex)

Overview

Refer to Working with DICOM Waveforms.

Remarks

The RefSamplePositions property specifies an array that contains the sample positions that represent the temporal points defined for the annotation. It corresponds to the Referenced Sample Positions (0040,A132). If the TemporalPointsType property is set to TYPE_SAMPLE_POSITIONS, the number of sample positions contained in the array is given by the TemporalPointCount property; otherwise, the array is empty and shouldn’t be accessed.

Notice that in the array specified by the RefSamplePositions property, the index of the sample within the RefSamplePositions array corresponds to the position of the sample within the waveform channel.

Before filling the array with sample positions, the TemporalPointsType property must be set to TYPE_SAMPLE_POSITIONS and storage must be allocated by setting the TemporalPointCount property to the required number of sample positions.

See Also

Elements:

AnnotationGroupNumber property, CodedName property, CodedValue property, MeasurementUnits property, NumericValue property, NumericValueCount property, RefDatetime property, RefTimeOffsets property, TemporalPointCount property, TemporalPointsType property, TemporalRangeType property, UnformattedTextValue property, ValueDefined property (IDicomWaveformAnnotation), ValueType property (IDicomWaveformAnnotation)

Topics:

DICOM Waveform Channels: Adding/Managing Waveform Annotations