DicomObjects.NET.V8
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 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: .NET CLR 3.5 or higher

    See Also