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



In This Topic
    PointFromControlToDip Method
    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 As PointF _
    ) As PointF
    public PointF PointFromControlToDip( 
       PointF pt
    )
    public: PointF PointFromControlToDip( 
       PointF pt
    ) 
    public:
    PointF PointFromControlToDip( 
       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: Windows 10, Windows 8, Windows 7, Windows Vista, Windows XP, Windows Server 2012, Windows Server 2008, Windows Server 2003

    See Also