Matrix Method (DicomLabel)
Provides the Matrix object used to display the DicomLabel
public System.Drawing.Drawing2D.Matrix Matrix(
DicomViewer ,
System.int
)
public function Matrix(
: DicomViewer;
: System.Integer
): System.Drawing.Drawing2D.Matrix;
public function Matrix(
: DicomViewer,
: System.int
) : System.Drawing.Drawing2D.Matrix;
public: System.Drawing.Drawing2D.Matrix* Matrix(
DicomViewer* ,
System.int
)
public:
System.Drawing.Drawing2D.Matrix^ Matrix(
DicomViewer^ ,
System.int
)
'Declaration
Public Function Matrix( _
ByVal As DicomViewer, _
ByVal As System.Integer _
) As System.Drawing.Drawing2D.Matrix
'Usage
Dim instance As DicomLabel
Dim viewer As DicomViewer
Dim index As System.Integer
Dim value As System.Drawing.Drawing2D.Matrix
value = instance.Matrix(viewer, index)
Parameters
- viewer
- The DicomViewer control in which the DicomLabel is being displayed
- index
If the label is shown as part of the Labels collection of a DicomImage, then this should be the Index of the DicomImage in the viewer's Images collection.
If the label is part of a the viewer's Labels collection, then this should be -1
Return Value
The requested matrix
Target Platforms: .NET CLR 4.8 or higher