MESCIUS SPREAD for Windows Forms 17.0J
GetPreferredSize(Graphics,Font,Int32,Int32,Int32,ProgressOrientation,ProgressTextStyle,String) メソッド

GDI+グラフィックスサーフェス
テキストのフォント
最小許容値
最大許容値
進行状況インジケータの向き
何をテキストとして表示するかを指定します。
表示するテキスト文字列
進行状況インジケータのテキストとピクチャを表示するために必要な高さと幅を計算します。
構文
'Declaration
 
Public Overloads Shared Function GetPreferredSize( _
   ByVal g As Graphics, _
   ByVal font As Font, _
   ByVal value As Integer, _
   ByVal minimum As Integer, _
   ByVal maximum As Integer, _
   ByVal orientation As ProgressOrientation, _
   ByVal textStyle As ProgressTextStyle, _
   ByVal textStr As String _
) As Size

パラメータ

g
GDI+グラフィックスサーフェス
font
テキストのフォント
value
minimum
最小許容値
maximum
最大許容値
orientation
進行状況インジケータの向き
textStyle
何をテキストとして表示するかを指定します。
textStr
表示するテキスト文字列
参照

FpProgress クラス
FpProgress メンバ
オーバーロード一覧

 

 


© MESCIUS inc. All rights reserved.