FarPoint.Win アセンブリ > FarPoint.Win 名前空間 > SuperEditBase クラス : AlignText プロパティ |
'Declaration
Public Overrides Property AlignText As TextAlign
public override TextAlign AlignText {get; set;}
このプロパティが使用できるのは実行時のみです。
編集コントロールの内容の水平方向の配置を指定するには、AlignHorzプロパティを設定します。
control.Text = "Alignment test"; control.Picture = System.Drawing.Image.FromFile("d:\mail16A.ico") control.PictureMargin = 25 control.PictureOrientation = FarPoint.Win.PictureOrientation.PictureRotate90; control.PictureTransparencyColor = Color.Blue; control.AlignText = FarPoint.Win.TextAlign.TextLeftPictRight; control.TextOrientation = FarPoint.Win.TextOrientation.TextTopDown;
control.Text = "Alignment test" control.Picture = System.Drawing.Image.FromFile("d:\mail16A.ico") control.PictureMargin = 25 control.PictureOrientation = FarPoint.Win.PictureOrientation.PictureRotate90 control.PictureTransparencyColor = Color.Blue control.AlignText = FarPoint.Win.TextAlign.TextLeftPictRight control.TextOrientation = FarPoint.Win.TextOrientation.TextTopDown