DicomObjects.NET10 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 SkiaSharp.SKMatrix
    'Usage
     
    
    Dim instance As DicomImage
    Dim Viewer As DicomViewer
    Dim value As SkiaSharp.SKMatrix
     
    value = instance.Matrix(Viewer)
    public SkiaSharp.SKMatrix Matrix( 
       DicomViewer Viewer
    )
    public:
    SkiaSharp.SKMatrix 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: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also