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






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
    'Usage
     
    
    Dim instance As DicomImage
    Dim UseAspect As System.Boolean
    Dim value As System.Drawing.Drawing2D.Matrix
     
    value = instance.MatrixBase(UseAspect)
    public System.Drawing.Drawing2D.Matrix MatrixBase( 
       System.bool UseAspect
    )
    public function MatrixBase( 
        UseAspect: System.Boolean
    ): System.Drawing.Drawing2D.Matrix; 
    public function MatrixBase( 
       UseAspect : System.boolean
    ) : System.Drawing.Drawing2D.Matrix;
    public: System.Drawing.Drawing2D.Matrix* MatrixBase( 
       System.bool UseAspect
    ) 
    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.
    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also