I have shown a image in the attachment. Here, actually I manualy draged in the figure window to get the smaller image size. Is there any way to get the figure size without manual option. I did tried with the below script.. However I am not getting desired image size. Could some one please help me with this ???