SftBox/OCX 4.5

SftBoxCell.PictureAlign Property

Softel vdm, Inc.

Defines the horizontal alignment of the graphic in this cell.

Deprecated - Provided for compatibility with earlier versions only - Use Cell.ImageHAlign instead

Syntax       

Get

VB.NET

Align = object.PictureAlign  As SftBoxAlignConstants

VB

Align = object.PictureAlign  As SftBoxAlignConstants

C#.NET

SftBoxAlignConstants Align = object.PictureAlign;

VC++

enum SftBoxAlignConstants Align = object->PictureAlign;
enum SftBoxAlignConstants Align = object->GetPictureAlign();

C

HRESULT object->get_PictureAlign(enum SftBoxAlignConstants* Align);

Delphi

Align := object.PictureAlign  : TOleEnum;

Put

VB.NET

object.PictureAlign = Align  As SftBoxAlignConstants

VB

object.PictureAlign = Align  As SftBoxAlignConstants

C#.NET

SftBoxAlignConstants object.PictureAlign = Align;

VC++

enum SftBoxAlignConstants object->PictureAlign = Align;
void object->PutPictureAlign(enum SftBoxAlignConstants Align);

C

HRESULT object->put_PictureAlign(enum SftBoxAlignConstants Align);

Delphi

object.PictureAlign := Align  : TOleEnum;

object

A SftBoxCell object.

Align

Defines the horizontal alignment of the graphic in this cell.

Align

Value

Description

constSftBoxLeft

0

The graphic is displayed to the left of the cell text.

constSftBoxCenter

1

The graphic is centered within the cell. The cell text is not displayed.

constSftBoxRight

2

The graphic is displayed to the right of the cell text.

Comments

Deprecated - Provided for compatibility with earlier versions only - Use Cell.ImageHAlign instead

The PictureAlign property defines the horizontal alignment of the graphic in this cell.

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

The cell text alignment is defined using the Cell.TextHAlign and Column.CellHAlign properties.


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