VintaSoft Imaging .NET SDK v8.6
Vintasoft.Imaging.Wpf.UI Namespace / WpfImageViewer Class / GetTransformFromViewerToImage Method / GetTransformFromViewerToImage(VintasoftImage) Method
The image.



In This Topic
    GetTransformFromViewerToImage(VintasoftImage) Method
    In This Topic
    Returns the Vintasoft.Imaging.Utils.AffineMatrix of world transformation from the control coordinate space to the coordinate space of specified image.
    Syntax
    'Declaration
     
    Public Overloads Function GetTransformFromViewerToImage( _
       ByVal image As VintasoftImage _
    ) As AffineMatrix
    public AffineMatrix GetTransformFromViewerToImage( 
       VintasoftImage image
    )
    public: AffineMatrix* GetTransformFromViewerToImage( 
       VintasoftImage* image
    ) 
    public:
    AffineMatrix^ GetTransformFromViewerToImage( 
       VintasoftImage^ image
    ) 

    Parameters

    image
    The image.

    Return Value

    The Vintasoft.Imaging.Utils.AffineMatrix of world transformation from the control coordinate space to the image coordinate space.
    Exceptions
    ExceptionDescription
    Thrown if viewer does not contain image.
    Requirements

    Target Platforms: Windows 10, Windows 8, Windows 7, Windows Vista, Windows XP, Windows Server 2012, Windows Server 2008, Windows Server 2003

    See Also