DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / DicomImage Class / Matrix Method / Matrix(DicomViewer) Method
DicomViewer
Example

In This Topic
    Matrix(DicomViewer) Method
    In This Topic
    Matrix specifying how the image is displayed onto the specified DicomViewer
    Syntax
    'Declaration
     
    
    Public Overloads Function Matrix( _
       ByVal Viewer As DicomViewer _
    ) As System.Drawing.Drawing2D.Matrix
    public System.Drawing.Drawing2D.Matrix Matrix( 
       DicomViewer Viewer
    )

    Parameters

    Viewer
    DicomViewer

    Return Value

    Matrix
    Remarks
    A .NET object containing the image display information, like rotation, scale etc.
    Example
    DicomImage image = new DicomImage("your_dicom_image.dcm");
    var matrix = image.Matrix(Viewer); // Assumes an existing DicomViewer obj
    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also