SftBox/OCX 4.5

SftBoxRowHeaders.TextHAlign Property

Softel vdm, Inc.

Defines the horizontal alignment of text in all row headers.

Syntax       

Get

VB.NET

Style = object.TextHAlign  As SftBoxHAlignConstants

VB

Style = object.TextHAlign  As SftBoxHAlignConstants

C#.NET

SftBoxHAlignConstants Style = object.TextHAlign;

VC++

enum SftBoxHAlignConstants Style = object->TextHAlign;
enum SftBoxHAlignConstants Style = object->GetTextHAlign();

C

HRESULT object->get_TextHAlign(enum SftBoxHAlignConstants* Style);

Delphi

Style := object.TextHAlign  : TOleEnum;

Put

VB.NET

object.TextHAlign = Style  As SftBoxHAlignConstants

VB

object.TextHAlign = Style  As SftBoxHAlignConstants

C#.NET

SftBoxHAlignConstants object.TextHAlign = Style;

VC++

enum SftBoxHAlignConstants object->TextHAlign = Style;
void object->PutTextHAlign(enum SftBoxHAlignConstants Style);

C

HRESULT object->put_TextHAlign(enum SftBoxHAlignConstants Style);

Delphi

object.TextHAlign := Style  : TOleEnum;

object

A SftBoxRowHeaders object.

Style

Defines the horizontal alignment of text in all row headers.

Name

Value

Description

halignSftBoxLeft

0

The row header text and/or graphic component are left aligned.

halignSftBoxCenter

1

The row header text and/or graphic component are centered in the cell.

halignSftBoxRight

2

The row header text and/or graphic component are right aligned.

Comments

The TextHAlign property defines the horizontal alignment of text in all row headers.

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

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


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