PowerTools SPREAD for Windows Forms 8.0J
TextOrientation プロパティ (ElementWindowless)


要素のテキストの向きを取得または設定します。
構文
'Declaration
 
Public Overridable Property TextOrientation As TextOrientation
'使用法
 
Dim instance As ElementWindowless
Dim value As TextOrientation
 
instance.TextOrientation = value
 
value = instance.TextOrientation
public virtual TextOrientation TextOrientation {get; set;}

プロパティ値

テキストの向きを決定するTextOrientation設定
解説

テキストを複数行に折り返すかどうかを指定するには、必要に応じて、TextWrapプロパティを設定します。

element.Picture = System.Drawing.Image.FromFile("d:\\mail16A.ico"); element.AlignText = FarPoint.Win.TextAlign.TextLeftPictRight; element.PictureMargin = 25; element.MarginBottom = 20; element.DrawFocusRectangle = FarPoint.Win.DrawFocusRectangle.AroundText; element.Border = new FarPoint.Win.BevelBorder(FarPoint.Win.BevelBorderType.Lowered,SystemColors.ControlLightLight,SystemColors.ControlDark,3,true,true,false,false); element.TextOrientation = FarPoint.Win.TextOrientation.TextTopDown;
element.Picture = System.Drawing.Image.FromFile("d:\mail16A.ico") element.AlignText = FarPoint.Win.TextAlign.TextLeftPictRight element.PictureMargin = 25 element.MarginBottom = 20 element.DrawFocusRectangle = FarPoint.Win.DrawFocusRectangle.AroundText element.Border = New FarPoint.Win.BevelBorder(FarPoint.Win.BevelBorderType.Lowered,SystemColors.ControlLightLight,SystemColors.ControlDark,3,True,True,False,False) element.TextOrientation = FarPoint.Win.TextOrientation.TextTopDown
参照

ElementWindowless クラス
ElementWindowless メンバ
TextOrientation 列挙体
TextWrap プロパティ

 

 


© 2004-2015, GrapeCity inc. All rights reserved.