SftTree/OCX 7.0

SftTreeRowHeader.TextVAlign Property

Softel vdm, Inc.

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

Syntax       

Get

VB.NET

Style = object.TextVAlign  As SftTreeVAlignDefaultConstants

VB

Style = object.TextVAlign  As SftTreeVAlignDefaultConstants

C#.NET

SftTreeVAlignDefaultConstants Style = object.TextVAlign;

VC++

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

C

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

Delphi

Style := object.TextVAlign  : TOleEnum;

Put

VB.NET

object.TextVAlign = Style  As SftTreeVAlignDefaultConstants

VB

object.TextVAlign = Style  As SftTreeVAlignDefaultConstants

C#.NET

SftTreeVAlignDefaultConstants object.TextVAlign = Style;

VC++

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

C

HRESULT object->put_TextVAlign(enum SftTreeVAlignDefaultConstants Style);

Delphi

object.TextVAlign := Style  : TOleEnum;

object

A SftTreeRowHeader object.

Style

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

Name

Value

Description

valignSftTreeDefault

-1

The text is aligned as defined using the default settings for all row headers (see RowHeaders.TextVAlign).

valignSftTreeDefaultCenter

0

The text is vertically centered.

valignSftTreeDefaultTop

1

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

valignSftTreeDefaultBottom

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 row header.

Row header text and graphics are defined using the RowHeader.Text and RowHeader.Image properties.

The default alignment for all row headers is defined using the RowHeaders.TextHAlign and RowHeaders.TextVAlign properties.

See Also  SftTreeRowHeader Object | Object Hierarchy


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