PowerTools SPREAD for Windows Forms 8.0J
GetImageBox(Graphics,Rectangle,Font,HorizontalAlignment,VerticalAlignment,String,ButtonTextAlign,Image) メソッド


画像のグラフィック
画像の矩形
フォント
水平方向の配置
垂直方向の配置
テキスト
ボタンテキストの配置
画像
画像に関する情報を返します。
構文
'Declaration
 
Public Overloads Function GetImageBox( _
   ByVal g As Graphics, _
   ByVal r As Rectangle, _
   ByVal font As Font, _
   ByVal halign As HorizontalAlignment, _
   ByVal valign As VerticalAlignment, _
   ByVal text As String, _
   ByVal nAlign As ButtonTextAlign, _
   ByVal pict As Image _
) As Rectangle
'使用法
 
Dim instance As ColumnHeaderRenderer
Dim g As Graphics
Dim r As Rectangle
Dim font As Font
Dim halign As HorizontalAlignment
Dim valign As VerticalAlignment
Dim text As String
Dim nAlign As ButtonTextAlign
Dim pict As Image
Dim value As Rectangle
 
value = instance.GetImageBox(g, r, font, halign, valign, text, nAlign, pict)
public Rectangle GetImageBox( 
   Graphics g,
   Rectangle r,
   Font font,
   HorizontalAlignment halign,
   VerticalAlignment valign,
   string text,
   ButtonTextAlign nAlign,
   Image pict
)

パラメータ

g
画像のグラフィック
r
画像の矩形
font
フォント
halign
水平方向の配置
valign
垂直方向の配置
text
テキスト
nAlign
ボタンテキストの配置
pict
画像

戻り値の型

画像のRectangleオブジェクト
参照

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

 

 


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