[]
        
(Showing Draft Content)

FarPoint.Win.Spread.CellType.ColumnHeaderRenderer.GetImageBox

GetImageBox Method

GetImageBox(Graphics, Rectangle, Font, HorizontalAlignment, VerticalAlignment, string, ButtonTextAlign, Image)

Returns information about the image.

Declaration
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
Parameters
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

Returns
Type Description
Rectangle

Rectangle object for image

GetImageBox(Graphics, Rectangle, Font, HorizontalAlignment, VerticalAlignment, string, ButtonTextAlign, Image, int)

Returns information about the image.

Declaration
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
Parameters
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

Returns
Type Description
Rectangle

Rectangle object for image