public bool StretchImage { get; set; }Public Property StretchImage As Boolean
Get
SetThe rectangle which is designated for the image of TabPage is computed so:
At first the size of one TabPage button is computed.
The size of one TabPage button is: width = width of TabControl divided by TabsPerPage height = height of TabBarHeight
Once the size of a TabPage button is computed, ImageMargins are taken into consideration. The values of ImageMargins specify how much space should be reserved between the image and the rectangle designated for the TabPage. Thus the size of image rectangle is computed. This property specifies whether the image should be stretched into this rectangle or whether it should keep its original size.