SftBox/OCX 4.5

SftBoxHeader.ImageVAlign Property

Softel vdm, Inc.

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

Syntax       

Get

VB.NET

Style = object.ImageVAlign  As SftBoxVAlignConstants

VB

Style = object.ImageVAlign  As SftBoxVAlignConstants

C#.NET

SftBoxVAlignConstants Style = object.ImageVAlign;

VC++

enum SftBoxVAlignConstants Style = object->ImageVAlign;
enum SftBoxVAlignConstants Style = object->GetImageVAlign();

C

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

Delphi

Style := object.ImageVAlign  : TOleEnum;

Put

VB.NET

object.ImageVAlign = Style  As SftBoxVAlignConstants

VB

object.ImageVAlign = Style  As SftBoxVAlignConstants

C#.NET

SftBoxVAlignConstants object.ImageVAlign = Style;

VC++

enum SftBoxVAlignConstants object->ImageVAlign = Style;
void object->PutImageVAlign(enum SftBoxVAlignConstants Style);

C

HRESULT object->put_ImageVAlign(enum SftBoxVAlignConstants Style);

Delphi

object.ImageVAlign := Style  : TOleEnum;

object

A SftBoxHeader object.

Style

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

Name

Value

Description

valignSftBoxCenter

0

The graphic is vertically centered.

valignSftBoxTop

1

The graphic is aligned with the top of the available area.

valignSftBoxBottom

2

The graphic is aligned with the bottom of the available area.

Comments

The ImageVAlign property defines the vertical alignment of the graphic in this column header.

The Header.ImageHAlign property is used to define the horizontal alignment of the graphic in this 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