DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / DicomImage Class / MatrixBase Method
If true, then the aspect ratio of the image is respected, so the zoom in one of the directions may be >1 if necessary to give a correctly shaped image
Example

In This Topic
    MatrixBase Method
    In This Topic
    Matrix specifying how the image would be displayed with a Zoom of 1:1
    Syntax
    'Declaration
     
    
    Public Function MatrixBase( _
       ByVal UseAspect As System.Boolean _
    ) As System.Drawing.Drawing2D.Matrix
    public System.Drawing.Drawing2D.Matrix MatrixBase( 
       System.bool UseAspect
    )

    Parameters

    UseAspect
    If true, then the aspect ratio of the image is respected, so the zoom in one of the directions may be >1 if necessary to give a correctly shaped image

    Return Value

    Matrix
    Remarks
    The RotateState, FlipState and Angle are all used in this method.
    Example
    DicomImage image = new DicomImage("your_dicom_image.dcm");
    bool useAspect = true;
    var matrix = image.MatrixBase(useAspect);
    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also