VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.UI Namespace / ImageViewer Class / PointFromControlToDip(PointF) Method
Syntax Exceptions Requirements SeeAlso
In This Topic
    PointFromControlToDip(PointF) Method (ImageViewer)
    In This Topic
    Transforms point from the viewer coordinate space to the device-independent pixels (1/96th inch).
    Syntax
    'Declaration
    
    Public Function PointFromControlToDip( _
    ByVal pt
    Point in the device-independent pixels (1/96th inch).
    As System.Drawing.PointF _
    ) As System.Drawing.PointF
    public System.Drawing.PointF PointFromControlToDip(
    System.Drawing.PointF pt
    )
    public: System.Drawing.PointF PointFromControlToDip(
    System.Drawing.PointF pt
    )
    public:
    System.Drawing.PointF PointFromControlToDip(
    System.Drawing.PointF pt
    )

    Parameters

    pt
    Point in the device-independent pixels (1/96th inch).

    Return Value

    Point in the viewer 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