public bool StretchImage { get; set; }Public Property StretchImage As Boolean
Get
SetThe rectangle which is designated for the image of Tool is computed so:
At first the size of one Tool is computed.
If the Orientation is horizontal, then the size of one Tool is: width = width of ToolBar divided by ToolsPerPage height = height of ToolBar If the Orientation is vertical, the size of one Tool is: width = width of ToolBar height = height of ToolBar divided by ToolsPerPage
Once the size of a Tool 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 Tool. 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.