DicomObjects.NET Core Documentation
DicomObjects Namespace / DicomGlobal Class / Zoom Method
The Matrix to use



In This Topic
    Zoom Method
    In This Topic
    The Zoom factor corresponding to a given System.Drawing.Drawing2D.Matrix object
    Syntax
    'Declaration
     
    
    Public Shared Function Zoom( _
       ByVal m As Matrix _
    ) As Single
    'Usage
     
    
    Dim m As Matrix
    Dim value As Single
     
    value = DicomGlobal.Zoom(m)
    public static float Zoom( 
       Matrix m
    )
    public:
    static float Zoom( 
       Matrix^ m
    ) 

    Parameters

    m
    The Matrix to use

    Return Value

    float/single
    Remarks
    If the Matrix is anisometropic (different zooms in different directions), then the lower of the two is used, corresponding to the behaviour of the DicomImage.Zoom property, which uses the specified zoom as the lower figure, and inflates the other as necessary to correct for non-square pixels.
    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