Hello Syncfusion team,
Is there any way of getting the current viewport coordinates, for example in this case to get the X position starting 0 and ending 700, and the Y position starting 0 and ending 300. I just need those 4 numbers as the viewport changes.
Thank you for your fast reply but i think i need to reformulate my question
My question was if i can get the top left and right and bottom left and right coordinates that fit in the viewport as i zoom in zoom out and move inside the diagram, basically the numbers on the ruler shown
the top side of the ruler -125 and 75 and left side 0 and 50
Use the getDiagramBounds method to get the diagram viewport bounds. Refer to the below-mentioned code example and sample.
var bounds = this.diagram.getDiagramBounds();
var bounds1 = this.diagram.getDiagramBounds();