Label - ImagePosition Property

ImagePosition sets the position of the image relative to caption

Member of Label (PRIM_LABL)

Data Type - Enumeration

Details

The ImagePosition property specifies the location of the image relative to the caption.
 
The image and caption can be further adjusted using the Alignment property.

Allowed Values

Enum ValueDescription
AboveCaptionAbove the caption
AfterCaptionTo the right of the caption
BeforeCaptionTo the left of the caption
BelowCaptionBelow the caption

Example

The four image positions on a button
Begin_Com Role(*EXTENDS #PRIM_WEB) Height(440) Width(688)
 
   Define_Com Class(#PRIM_PHBN) Name(#Button1) Caption('Above Caption') Displayposition(1) Left(16) Parent(#COM_OWNER) Tabposition(1) Top(104) Width(161) Image(#xImageDetails16) Imageposition(AboveCaption) Height(65)
   Define_Com Class(#PRIM_PHBN) Name(#Button2) Caption('Before Caption') Displayposition(4) Left(16) Parent(#COM_OWNER) Tabposition(4) Top(16) Width(161) Image(#xImageDetails16) Height(65)
   Define_Com Class(#PRIM_PHBN) Name(#Button3) Caption('After Caption') Displayposition(3) Left(192) Parent(#COM_OWNER) Tabposition(3) Top(104) Width(161) Image(#xImageDetails16) Imageposition(AfterCaption) Height(65)
   Define_Com Class(#PRIM_PHBN) Name(#Button4) Caption('Below Caption') Displayposition(2) Left(192) Parent(#COM_OWNER) Tabposition(2) Top(16) Width(161) Image(#xImageDetails16) Imageposition(BelowCaption) Height(65)
 
End_Com

See also

All Component Classes

Technical Reference

Febuary 18 V14SP2