|
SmartNetButton
Reference
Returns or sets the position of the caption within the caption area.
Syntax
object.CaptionLayout [= value]
The CaptionLayout property syntax has these parts:
| Part |
Description |
| object |
An object expression that evaluates to a SmartNetButton object. |
| value |
A value or constant that determines the position of the
caption within the caption area,
as described in Settings. |
Settings
The CaptionLayout property settings for SmartNetButton are:
| Constant |
Setting |
Description |
| sbBottomLeft |
0 |
The caption will appear on the bottom-left. |
| sbBottomCenter |
1 |
The caption will appear on the bottom-center. |
| sbBottomRight |
2 |
The caption will appear on the bottom-right. |
| sbvMiddleLeft |
3 |
The caption will appear on the middle-left. |
| sbvMiddleCenter |
4 |
The caption will appear on the middle-center. |
| sbvMiddleRight |
5 |
The caption will appear on the middle-right. |
| sbvTopLeft |
6 |
The caption will appear on the top-left. |
| sbTopCenter |
7 |
The caption will appear on the top-center. |
| sbTopRight |
8 |
The caption will appear on the top-right. |
At design time, the default CaptionLayout
for the SmartNetButton is set to sbMiddleCenter.
Remarks
The CaptionLayout property can be changed at both design and run-time.
This property defines the position of the caption within the caption area. You
can also adjust this position by changing properties CaptionOffsetLeft,
CaptionOffsetRight, CaptionOffsetTop
or CaptionOffsetBottom.

Caption has 9 possible layouts
|