The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
What is the Equivalent of 4.x's View.DeviceToView(pt) in 5.1 DOM?
In the DragDrop event of the Draw Area I need to place an object at the translated X,Y coordinates. I used to use View.DeviceToView() to accomplish this.
RRRamya R Syncfusion Team May 25, 2007 03:18 PM UTC
Hi Eric,
Thank you for your interest in Syncfusion Products.
Some of the co-ordinate conversion present with our Diagram Control are as shown in the code snippet below,
//Converts Model co-ordinates to Client co-ordinates 1)this.diagram1.Controller.ConvertFromModelToClientCoordinates(RectangleF rect);(5 Overloads are present for this method).
//Converts Client co-ordinates to Model co-ordinates 2)this.diagram1.Controller.ConvertToModelCoordinates(RecatngleF rect); (5 Overloads are present for this method).