ROILength(DicomViewer,Int32) Method
Length of the boundary of a Non-Image-Tied DicomLabel, interpreted as a region of
interest.
public System.float ROILength(
DicomViewer ,
System.int
)
public function ROILength(
: DicomViewer;
: System.Integer
): System.Single;
public function ROILength(
: DicomViewer,
: System.int
) : System.float;
'Declaration
Public Overloads Function ROILength( _
ByVal As DicomViewer, _
ByVal 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)
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.
Target Platforms: .NET CLR 4.8 or higher