I want to select feature and then fit feature to page bound.
I use this code:
my code, double the selected, but i want fit selected to page bound. I do not know how to calculate scale and put in place 2 in the above code.
Can someone help me?