[]
Returns information about the image.
public Rectangle GetImageBox(Graphics g, Rectangle r, Font font, HorizontalAlignment halign, VerticalAlignment valign, string text, ButtonTextAlign nAlign, Image pict)
Public Function GetImageBox(g As Graphics, r As Rectangle, font As Font, halign As HorizontalAlignment, valign As VerticalAlignment, text As String, nAlign As ButtonTextAlign, pict As Image) As Rectangle
| Type | Name | Description |
|---|---|---|
| Graphics | g | Image graphic |
| Rectangle | r | Image rectangle |
| Font | font | Font |
| HorizontalAlignment | halign | Horizontal alignment |
| VerticalAlignment | valign | Vertical alignment |
| string | text | Text |
| ButtonTextAlign | nAlign | Button text alignment |
| Image | pict | Image |
| Type | Description |
|---|---|
| Rectangle | Rectangle object for image |
Returns information about the image.
public Rectangle GetImageBox(Graphics g, Rectangle r, Font font, HorizontalAlignment halign, VerticalAlignment valign, string text, ButtonTextAlign nAlign, Image pict, int textIndent)
Public Function GetImageBox(g As Graphics, r As Rectangle, font As Font, halign As HorizontalAlignment, valign As VerticalAlignment, text As String, nAlign As ButtonTextAlign, pict As Image, textIndent As Integer) As Rectangle
| Type | Name | Description |
|---|---|---|
| Graphics | g | Image graphic |
| Rectangle | r | Image rectangle |
| Font | font | Font |
| HorizontalAlignment | halign | Horizontal alignment |
| VerticalAlignment | valign | Vertical alignment |
| string | text | Text |
| ButtonTextAlign | nAlign | Button text alignment |
| Image | pict | Image |
| int | textIndent | TextIndent |
| Type | Description |
|---|---|
| Rectangle | Rectangle object for image |