'Declaration
Public Overloads Function ROILength( _ ByVal Viewer As DicomViewer, _ ByVal Index As System.Integer _ ) As System.Single
'Usage
Dim instance As DicomLabel Dim Viewer As DicomViewer Dim Index As System.Integer Dim value As System.Single value = instance.ROILength(Viewer, Index)
public System.float ROILength( DicomViewer Viewer, System.int Index )
public function ROILength( Viewer: DicomViewer; Index: System.Integer ): System.Single;
public function ROILength( Viewer : DicomViewer, Index : System.int ) : System.float;
public: System.float ROILength( DicomViewer* Viewer, System.int Index )
public: System.float ROILength( DicomViewer^ Viewer, System.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.