DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / DicomLabel Class / Matrix Method
The DicomViewer control in which the DicomLabel is being displayed

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







In This Topic
    Matrix Method (DicomLabel)
    In This Topic
    Provides the Matrix object used to display the DicomLabel
    Syntax
    'Declaration
     
    
    Public Function Matrix( _
       ByVal viewer As DicomViewer, _
       ByVal index 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)
    public System.Drawing.Drawing2D.Matrix Matrix( 
       DicomViewer viewer,
       System.int index
    )
    public function Matrix( 
        viewer: DicomViewer;
        index: System.Integer
    ): System.Drawing.Drawing2D.Matrix; 
    public function Matrix( 
       viewer : DicomViewer,
       index : System.int
    ) : System.Drawing.Drawing2D.Matrix;
    public: System.Drawing.Drawing2D.Matrix* Matrix( 
       DicomViewer* viewer,
       System.int index
    ) 
    public:
    System.Drawing.Drawing2D.Matrix^ Matrix( 
       DicomViewer^ viewer,
       System.int 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
    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also