SftBox/OCX 4.5

SftBoxHeader.TextVAlign Property

Softel vdm, Inc.

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

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 SftBoxHeader object.

Style

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

Style

Defines the vertical alignment of the text in this cell.

Name

Value

Description

valignSftBoxCenter

0

The column header text is vertically centered.

valignSftBoxTop

1

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

valignSftBoxBottom

2

The column header 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.

The Header.TextHAlign property is used to define the horizontal alignment of the text in this column header.

The Header.ImageHAlign and Header.ImageVAlign properties are used to align the column header graphic component.


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