DicomObjects.NET8 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 SkiaSharp.SKMatrix object
    Syntax
    'Declaration
     
    
    Public Shared Function Zoom( _
       ByVal m As SkiaSharp.SKMatrix _
    ) As Single
    'Usage
     
    
    Dim m As SkiaSharp.SKMatrix
    Dim value As Single
     
    value = DicomGlobal.Zoom(m)
    public static float Zoom( 
       SkiaSharp.SKMatrix m
    )
    public:
    static float Zoom( 
       SkiaSharp.SKMatrix 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