property ScrollBar.CaptionAlignment(Part as PartEnum) as AlignmentEnum
Specifies the alignment of the part's caption.

TypeDescription
Part as PartEnum A PartEnum expression that specifies the part where the text is displayed.
AlignmentEnum An AlignmentEnum expression that specifies the alignment of the caption.
By default, the CaptionAlignment property is CenterAlignment. Use the CaptionIndentX property to indent the caption on the part, on the X axis. Use the CaptionIndentY property to indent the caption of the part on the Y axis. Use the Caption property to specify a caption on any part of the control. Use the Font property to specify the control's font. Use the ForeColor property to specify the caption's color, if the <fgcolor> tag is not used. Use the Value property to specify the control's value.

The Caption property supports the following built-in HTML tags: