DicomObjects.NET.V8
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 Integer _
    ) As Matrix
    'Usage
     
    Dim instance As DicomLabel
    Dim viewer As DicomViewer
    Dim index As Integer
    Dim value As Matrix
     
    value = instance.Matrix(viewer, index)
    public Matrix Matrix( 
       DicomViewer viewer,
       int index
    )
    public:
    Matrix^ Matrix( 
       DicomViewer^ viewer,
       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.0 or higher

    See Also