DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / DicomImage Class / UserMatrix Property






In This Topic
    UserMatrix Property
    In This Topic
    Means to override the matrix used to display 2D images
    Syntax
    'Declaration
     
    
    Public Property UserMatrix As System.Drawing.Drawing2D.Matrix
    'Usage
     
    
    Dim instance As DicomImage
    Dim value As System.Drawing.Drawing2D.Matrix
     
    instance.UserMatrix = value
     
    value = instance.UserMatrix
    public System.Drawing.Drawing2D.Matrix UserMatrix {get; set;}
    public read-write property UserMatrix: System.Drawing.Drawing2D.Matrix; 
    public function get,set UserMatrix : System.Drawing.Drawing2D.Matrix
    public: __property System.Drawing.Drawing2D.Matrix* get_UserMatrix();
    public: __property void set_UserMatrix( 
       System.Drawing.Drawing2D.Matrix* value
    );
    public:
    property System.Drawing.Drawing2D.Matrix^ UserMatrix {
       System.Drawing.Drawing2D.Matrix^ get();
       void set (    System.Drawing.Drawing2D.Matrix^ value);
    }
    Remarks
    There are multiple uses for the display matrix, with numerous matrix overrides, which all ultimately call the CoreMatrix protected function, but there could be special circumstances where the uses wished to override the normal zoom/scroll/rotate behaviour, and if so, then it can be done by setting this property to a non-null value.
    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also