SftBox/OCX 4.5

SftBoxHeader.PictureAlign Property

Softel vdm, Inc.

Defines the header's picture alignment.

Deprecated - Provided for compatibility with earlier versions only - Use Header.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 SftBoxHeader object.

Align

Defines the header's picture alignment.

Align

Value

Description

constSftBoxLeft 

0

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

constSftBoxCenter

1

The graphic is centered within the column header. The column header text is not displayed.

constSftBoxRight

2

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

Comments

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

The PictureAlign property defines the header's picture alignment.

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

The header's text alignment is defined using the Header.TextHAlign and Header.TextVAlign properties.


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