DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / DicomImage Class / Matrix Method / Matrix(SizeF) Method
The size used for calculations






In This Topic
    Matrix(SizeF) Method
    In This Topic
    Matrix specifying how the image is displayed onto display of the stated size
    Syntax
    'Declaration
     
    
    Public Overloads Function Matrix( _
       ByVal OutputSize As System.Drawing.SizeF _
    ) As System.Drawing.Drawing2D.Matrix
    'Usage
     
    
    Dim instance As DicomImage
    Dim OutputSize As System.Drawing.SizeF
    Dim value As System.Drawing.Drawing2D.Matrix
     
    value = instance.Matrix(OutputSize)
    public System.Drawing.Drawing2D.Matrix Matrix( 
       System.Drawing.SizeF OutputSize
    )
    public function Matrix( 
        OutputSize: System.Drawing.SizeF
    ): System.Drawing.Drawing2D.Matrix; 
    public function Matrix( 
       OutputSize : System.Drawing.SizeF
    ) : System.Drawing.Drawing2D.Matrix;
    public: System.Drawing.Drawing2D.Matrix* Matrix( 
       System.Drawing.SizeF OutputSize
    ) 
    public:
    System.Drawing.Drawing2D.Matrix^ Matrix( 
       System.Drawing.SizeF OutputSize
    ) 

    Parameters

    OutputSize
    The size used for calculations

    Return Value

    Matrix
    Remarks
    A .NET object containing the image display information, like rotation, scale etc. The Size is important if the DicomObjects.Enums.ScaleMode of the image indicates stetching to fit the available space.
    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also