In This Topic
Identify labels occupying a give screen point in a
DicomViewer
Syntax
'Declaration
Public Function LabelHits( _
ByVal As System.Drawing.Point, _
ByVal As System.Boolean, _
ByVal As System.Boolean _
) As DicomLabelCollection
'Usage
Dim instance As DicomViewer
Dim p As System.Drawing.Point
Dim ViewerLabels As System.Boolean
Dim ImageLabels As System.Boolean
Dim value As DicomLabelCollection
value = instance.LabelHits(p, ViewerLabels, ImageLabels)
public DicomLabelCollection LabelHits(
System.Drawing.Point ,
System.bool ,
System.bool
)
public function LabelHits(
: System.Drawing.Point;
: System.Boolean;
: System.Boolean
): DicomLabelCollection;
public function LabelHits(
: System.Drawing.Point,
: System.boolean,
: System.boolean
) : DicomLabelCollection;
public: DicomLabelCollection* LabelHits(
System.Drawing.Point ,
System.bool ,
System.bool
)
public:
DicomLabelCollection^ LabelHits(
System.Drawing.Point ,
System.bool ,
System.bool
)
Parameters
- p
- The Point in scrren coordinates to be investigated
- ViewerLabels
- Indication of whether Viewer-Tied Labels will be investigated
- ImageLabels
- Indication of whether Image-Tied Labels will be investigated
Return Value
Requirements
Target Platforms: .NET CLR 4.8 or higher
See Also