SftBox/OCX 4.5

SftBoxRowHeader.ImageHAlign Property

Softel vdm, Inc.

Defines the horizontal alignment of the graphic in this row 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 SftBoxRowHeader object.

Style

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

Name

Value

Description

halignSftBoxLeft

0

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

halignSftBoxCenter

1

The graphic is centered in the row header. The row header text is not displayed.

halignSftBoxRight

2

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

Comments

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

The RowHeader.ImageVAlign property defines the vertical alignment of the optional row header picture, defined using the RowHeader.Image property.


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