CalendarView for WinForms
TabbedTextExtent メソッド

C1.Win.C1Input.4.5.2 アセンブリ > C1.Framework.Drawing.Gdi.DeviceContexts 名前空間 > DeviceContext クラス : TabbedTextExtent メソッド
A string that saves a character string to be computed.
An array containing the tab-stop positions, in device units. The tab stops must be sorted in increasing order; the smallest x-value should be the first item in the array.
If the function succeeds, the value is the dimensions of the string in logical units. Else the value is Size.Empty.
The TabbedTextExtent method computes the width and height of a character string.If the string contains one or more tab characters, the width of the string is based upon the specified tab stops. The TabbedTextExtent method uses the currently selected font to compute the dimensions of the string.
シンタックス
'宣言
 
Public Function TabbedTextExtent( _
   ByVal text As System.String, _
   ByVal tabStopPositions() As System.Integer, _
   ByRef size As System.Drawing.Size _
) As System.Boolean
public System.bool TabbedTextExtent( 
   System.string text,
   System.int[] tabStopPositions,
   out System.Drawing.Size size
)

パラメータ

text
A string that saves a character string to be computed.
tabStopPositions
An array containing the tab-stop positions, in device units. The tab stops must be sorted in increasing order; the smallest x-value should be the first item in the array.
size
If the function succeeds, the value is the dimensions of the string in logical units. Else the value is Size.Empty.

戻り値の型

Retrun a value indictaes whether this function succeed or not.
参照

DeviceContext クラス
DeviceContext メンバ