SftTree/OCX 7.0

SftTreeHeader.TextVAlign Property

Softel vdm, Inc.

Defines the vertical alignment of the text in this column header.

Syntax       

Get

VB.NET

Style = object.TextVAlign  As SftTreeVAlignConstants

VB

Style = object.TextVAlign  As SftTreeVAlignConstants

C#.NET

SftTreeVAlignConstants Style = object.TextVAlign;

VC++

enum SftTreeVAlignConstants Style = object->TextVAlign;
enum SftTreeVAlignConstants Style = object->GetTextVAlign();

C

HRESULT object->get_TextVAlign(enum SftTreeVAlignConstants* Style);

Delphi

Style := object.TextVAlign  : TOleEnum;

Put

VB.NET

object.TextVAlign = Style  As SftTreeVAlignConstants

VB

object.TextVAlign = Style  As SftTreeVAlignConstants

C#.NET

SftTreeVAlignConstants object.TextVAlign = Style;

VC++

enum SftTreeVAlignConstants object->TextVAlign = Style;
void object->PutTextVAlign(enum SftTreeVAlignConstants Style);

C

HRESULT object->put_TextVAlign(enum SftTreeVAlignConstants Style);

Delphi

object.TextVAlign := Style  : TOleEnum;

object

A SftTreeHeader object.

Style

Defines the vertical alignment of the text in this column header.

Name

Value

Description

valignSftTreeCenter

0

The text is vertically centered.

valignSftTreeTop

1

The text is aligned with the top of the available area.

valignSftTreeBottom

2

The text is aligned with the bottom of the available area.

Comments

The TextVAlign property defines the vertical alignment of the text in this column header.

To change the default alignment of cell text use the Column.CellHAlign and Column.CellVAlign properties instead.

The Headers.Multiline property can be used to enable multi-line column header text.

See Also  SftTreeHeader Object | Object Hierarchy


Feedback / comments / error reports for this topic
© 2015 - Softel vdm, Inc. - www.softelvdm.com