ImagePositionはキャプションと関連のあるイメージの配置を設定します。
ラベルコンポーネント (PRIM_LABL) のメンバ
データタイプ - 列挙
ImagePosition プロパティは、キャプションを基準にしたイメージの位置を指定します。
画像とキャプションは、 Alignment プロパティを使用してさらに調整できます。
列挙値 |
説明 |
AboveCaption |
キャプションの上に |
AfterCaption |
キャプションの右側に |
BeforeCaption |
キャプションの左側に |
BelowCaption |
キャプションの下に |
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