Reference > Caption Object > Caption Object Properties > Size Property (Caption) |
Size Property (Caption)
Sets/returns the pixel width/height of the caption.
object.Size= integer
Read/Write at run time and design time.
0-32767 (0 is the default)
The Size property and the Spacing property together make up the full caption area. Therefore, setting both these properties to 0, the default, will cause the caption to be hidden.
When the Position property is set to 0-Left or 2-Right, the Size determines the width of the caption size. However, if the Position property is set to 1-Top or 3-Bottom, the height will be determined.
When setting the Size and the Spacing properties, the caption area will be reduced within the control area, causing the date entry area to change.
See Also