GrapeCity.Spreadsheet アセンブリ > GrapeCity.Spreadsheet 名前空間 > FormatResult 構造体 > Create メソッド : Create(String,Int32,Char,DisplayValueStyle,FormatColorEnum) メソッド |
'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)
public static FormatResult Create( string text, int repeatCharIndex, char repeatChar, DisplayValueStyle displayStyle, FormatColorEnum color )