VintaSoft Imaging .NET SDK v8.7
Vintasoft.Imaging.Annotation.UI Namespace / AnnotationViewer Class / PointFromDipToControl Method
Point in the device-independent pixels (1/96th inch) space.



In This Topic
    PointFromDipToControl Method
    In This Topic
    Transforms point from the device-independent pixels (1/96th inch) to the viewer coordinate space.
    Syntax
    'Declaration
     
    Public Function PointFromDipToControl( _
       ByVal pt As PointF _
    ) As PointF
    public PointF PointFromDipToControl( 
       PointF pt
    )
    public: PointF PointFromDipToControl( 
       PointF pt
    ) 
    public:
    PointF PointFromDipToControl( 
       PointF pt
    ) 

    Parameters

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

    Return Value

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