PictureSpacing Property
Specifies the margin in pixels between the image specified by the Picture property and text specified by the Caption property on a control. Read/write at design time and run time.
Control.PictureSpacing [= nValue]
Return Value
nValue
Specifies the number of pixels between an image and text on a control. You can specify a value of 0 (default) to 65,535 for nValue.When PictureSpacing is set to 0, the PicturePosition and Alignment properties determine the margin between the image and the control. When PictureSpacing is greater than 0, the text appears nValue number of pixels from the image, and the PicturePosition and Alignment properties affect the positioning of text in the control.
PictureSpacing is disregarded when PicturePosition is set to a value greater than 11. For more information, see PicturePosition Property and Alignment Property.
Remarks
Applies To: CheckBox | CommandButton | OptionButton
PictureMargin applies to CheckBox and OptionButton controls when their Style property is set to 1 (Graphical). For more information, see Style Property.
See Also
Reference
PictureMargin Property
Controls for Displaying Information