FarPoint.Win アセンブリ > FarPoint.Win 名前空間 > ElementWindowless クラス : TextOrientation プロパティ |
'Declaration
Public Overridable Property TextOrientation As TextOrientation
public virtual TextOrientation TextOrientation {get; set;}
テキストを複数行に折り返すかどうかを指定するには、必要に応じて、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;