Navigation:  Contents > Graphic information output >

StimulReport.Net User Manual

Print this Topic Previous pageReturn to chapter overviewNext page

Image stretching

Often image size does not fit (smaller) the component size. In this case vacant space can be found. Sometimes the image size does not fit (larger) the component size. In this case the Image component is to stretch the image size to fill the component with the image. For this, set the Stretch property in true.

 

 

After setting the Stretch property in true the image size will fill all space of the component. When stretching, the image in proportions can be broken. To make the Image component stretch the image but to keep proportions of this image you should set the AspectRatio property in true. After this the Image component will always keep its proportions.

 

Important! The AspectRatio property is in process only when the image stretching is turned off.