SftBox/OCX 4.5

SftBoxCell.ImageVAlign Property

Softel vdm, Inc.

Defines the vertical alignment of the graphic in this cell.

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

Style

Defines the vertical alignment of the graphic in this cell.

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 cell.

The Cell.ImageHAlign property is used to define the horizontal alignment of the graphic in this cell. The cell graphic is defined using the Cell.Image property.


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