Hide

SftBox/OCX 5.0 - Combo Box Control

Display
Print

SftBoxHeader.PictureAlign Property

Defines the header's picture alignment.

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

Syntax

Get

VB.NETAlign = object.PictureAlign As SftBoxAlignConstants
VBAlign = object.PictureAlign As SftBoxAlignConstants
C#.NETSftBoxAlignConstants Align = object.PictureAlign;
VC++enum SftBoxAlignConstants Align = object->PictureAlign;
enum SftBoxAlignConstants Align = object->GetPictureAlign();
CHRESULT object->get_PictureAlign(enum SftBoxAlignConstants* Align);

Put

VB.NETobject.PictureAlign = Align As SftBoxAlignConstants
VBobject.PictureAlign = Align As SftBoxAlignConstants
C#.NETSftBoxAlignConstants object.PictureAlign = Align;
VC++enum SftBoxAlignConstants object->PictureAlign = Align;
void object->PutPictureAlign(enum SftBoxAlignConstants Align);
CHRESULT object->put_PictureAlign(enum SftBoxAlignConstants Align);

object

A SftBoxHeader object.

Align

Defines the header's picture alignment.

AlignValueDescription
constSftBoxLeft0The graphic is displayed to the left of the column header text.
constSftBoxCenter1The graphic is centered within the column header. The column header text is not displayed.
constSftBoxRight2The 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.

See Also SftBoxHeader Object | Object Hierarchy


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.