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







    Matrix Method (DicomLabel)
    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)

    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