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