PowerTools SPREAD for Windows Forms 10.0J
StringTrim プロパティ (HyperLinkCellType)


セルに入り切らない文字を処理する方法を取得または設定します。
構文
'Declaration
 
Public Property StringTrim As StringTrimming
'使用法
 
Dim instance As HyperLinkCellType
Dim value As StringTrimming
 
instance.StringTrim = value
 
value = instance.StringTrim
public StringTrimming StringTrim {get; set;}
次のサンプルコードは、StringTrimプロパティを設定します。
FarPoint.Win.Spread.CellType.HyperLinkCellType hlnkcell = new FarPoint.Win.Spread.CellType.HyperLinkCellType();
hlnkcell.Link = "http://www.fpoint.com";
hlnkcell.LinkArea = new LinkArea(6, 10);
hlnkcell.LinkColor = Color.DarkRed;
hlnkcell.Text = "Click to See Our Web Site.";
hlnkcell.VisitedLinkColor = Color.Gray;
hlnkcell.StringTrim = StringTrimming.EllipsisCharacter;
fpSpread1.Sheets[0].Cells[7, 2].CellType = hlnkcell;
Dim hlnkcell As New FarPoint.Win.Spread.CellType.HyperLinkCellType()
hlnkcell.Link = "http://www.fpoint.com"
hlnkcell.LinkArea = New LinkArea(6, 10)
hlnkcell.LinkColor = Color.DarkRed
hlnkcell.Text = "Click to See Our Web Site."
hlnkcell.VisitedLinkColor = Color.Gray
hlnkcell.StringTrim = StringTrimming.EllipsisCharacter
FpSpread1.Sheets(0).Cells(7, 2).CellType = hlnkcell
参照

HyperLinkCellType クラス
HyperLinkCellType メンバ

 

 


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