'Declaration Public Overloads Function ROILength( _ ByVal Viewer As DicomViewer, _ ByVal Index As Integer _ ) As Single
'Usage Dim instance As DicomLabel Dim Viewer As DicomViewer Dim Index As Integer Dim value As Single value = instance.ROILength(Viewer, Index)
public float ROILength( DicomViewer Viewer, int Index )
public: float ROILength( DicomViewer^ Viewer, int Index )
Parameters
- Viewer
- The Viewer from which the Image is drawn
- Index
- The specific Index of the Image in the Viewer's Images Collection
Return Value
This property may not be used for DicomLabels of type Bitmap.
The length is the length of the entire circumference of the label.
Where pixel dimensions for the whole image are present within the image data, these are used to scale the length appropriately. Multiple region calibration areas (e.g. in U/S images) are fully supported.
The units used (which for uncalibrated data may simply be pixels) is returned by ROIDistanceUnits.