GrapeCity SPREAD for Windows Forms 12.0J
Create(String,Int32,Char,DisplayValueStyle,FormatColorEnum) メソッド


書式設定されたテキスト。
書式設定されたtext内の繰り返し文字の位置。
表示領域を収容するための繰り返し文字。
テキストの表示方法を示すDisplayValueStyle値。
書式設定されたテキストの色。
繰り返し文字を含む書式設定された結果を作成します。
構文
'Declaration
 
Public Overloads Shared Function Create( _
   ByVal text As String, _
   ByVal repeatCharIndex As Integer, _
   ByVal repeatChar As Char, _
   Optional ByVal displayStyle As DisplayValueStyle, _
   Optional ByVal color As FormatColorEnum _
) As FormatResult
'使用法
 
Dim text As String
Dim repeatCharIndex As Integer
Dim repeatChar As Char
Dim displayStyle As DisplayValueStyle
Dim color As FormatColorEnum
Dim value As FormatResult
 
value = FormatResult.Create(text, repeatCharIndex, repeatChar, displayStyle, color)

パラメータ

text
書式設定されたテキスト。
repeatCharIndex
書式設定されたtext内の繰り返し文字の位置。
repeatChar
表示領域を収容するための繰り返し文字。
displayStyle
テキストの表示方法を示すDisplayValueStyle値。
color
書式設定されたテキストの色。

戻り値の型

書式設定された結果を示すFormatResult値。
参照

FormatResult 構造体
FormatResult メンバ
オーバーロード一覧

 

 


Copyright © 2004 GrapeCity inc.