VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.Wpf.UI Namespace / WpfImageViewer Class / GetTransformFromControlToImage Methods / GetTransformFromControlToImage() Method
Syntax Exceptions Requirements SeeAlso
In This Topic
    GetTransformFromControlToImage() Method (WpfImageViewer)
    In This Topic
    Returns the AffineMatrix of world transformation from the viewer coordinate space to the image coordinate space.
    Syntax
    'Declaration
    
    Public Overloads Function GetTransformFromControlToImage() As Vintasoft.Imaging.AffineMatrix
    
    
    public Vintasoft.Imaging.AffineMatrix GetTransformFromControlToImage()
    
    
    public: Vintasoft.Imaging.AffineMatrix* GetTransformFromControlToImage()
    
    
    public:
    Vintasoft.Imaging.AffineMatrix^ GetTransformFromControlToImage()

    Return Value

    The System.Windows.Media.Matrix of world transformation from the viewer coordinate space to the image coordinate space.
    Exceptions
    ExceptionDescription
    Thrown if viewer does not contain image.
    Requirements

    Target Platforms: .NET9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also