'Declaration
Public Overloads Function GetImageBox( _
ByVal As Graphics, _
ByVal As Rectangle, _
ByVal As Font, _
ByVal As HorizontalAlignment, _
ByVal As VerticalAlignment, _
ByVal As String, _
ByVal As ButtonTextAlign, _
ByVal 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)