SftBox/OCX 4.5

SftBoxRowHeaders.TextVAlign Property

Softel vdm, Inc.

Defines the vertical alignment of text in all row headers.

Syntax       

Get

VB.NET

Style = object.TextVAlign  As SftBoxVAlignConstants

VB

Style = object.TextVAlign  As SftBoxVAlignConstants

C#.NET

SftBoxVAlignConstants Style = object.TextVAlign;

VC++

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

C

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

Delphi

Style := object.TextVAlign  : TOleEnum;

Put

VB.NET

object.TextVAlign = Style  As SftBoxVAlignConstants

VB

object.TextVAlign = Style  As SftBoxVAlignConstants

C#.NET

SftBoxVAlignConstants object.TextVAlign = Style;

VC++

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

C

HRESULT object->put_TextVAlign(enum SftBoxVAlignConstants Style);

Delphi

object.TextVAlign := Style  : TOleEnum;

object

A SftBoxRowHeaders object.

Style

Defines the vertical alignment of text in all row headers.

Name

Value

Description

valignSftBoxCenter

0

The row header text is vertically centered.

valignSftBoxTop

1

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

valignSftBoxBottom

2

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

Comments

The TextVAlign property defines the vertical alignment of text in all row headers.

Individual row headers can override the default text alignment using the RowHeader.TextVAlign property.

The RowHeaders.TextHAlign property can be used to define the default horizontal alignment of text in all row headers.


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