SftBox/OCX 4.5

SftBoxHeader.ImageHAlign Property

Softel vdm, Inc.

Defines the horizontal alignment of the graphic in this column header.

Syntax       

Get

VB.NET

Style = object.ImageHAlign  As SftBoxHAlignConstants

VB

Style = object.ImageHAlign  As SftBoxHAlignConstants

C#.NET

SftBoxHAlignConstants Style = object.ImageHAlign;

VC++

enum SftBoxHAlignConstants Style = object->ImageHAlign;
enum SftBoxHAlignConstants Style = object->GetImageHAlign();

C

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

Delphi

Style := object.ImageHAlign  : TOleEnum;

Put

VB.NET

object.ImageHAlign = Style  As SftBoxHAlignConstants

VB

object.ImageHAlign = Style  As SftBoxHAlignConstants

C#.NET

SftBoxHAlignConstants object.ImageHAlign = Style;

VC++

enum SftBoxHAlignConstants object->ImageHAlign = Style;
void object->PutImageHAlign(enum SftBoxHAlignConstants Style);

C

HRESULT object->put_ImageHAlign(enum SftBoxHAlignConstants Style);

Delphi

object.ImageHAlign := Style  : TOleEnum;

object

A SftBoxHeader object.

Style

Defines the horizontal alignment of the graphic in this column header. 

Name

Value

Description

halignSftBoxLeft

0

The graphic is to the left of the column header text.

halignSftBoxCenter

1

The graphic is centered in the column header.

halignSftBoxRight

2

The graphic is to the right of the column header text.

Comments

The ImageHAlign property defines the horizontal alignment of the graphic in this column header.

The Header.ImageVAlign property is used to define the vertical alignment of the column header. The header graphic is defined using the Header.Image property.


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