[]
        
(Showing Draft Content)

FarPoint.Win.Spread.IInterfaceRenderer.PaintSheetTabPartial

PaintSheetTabPartial Method

PaintSheetTabPartial(Graphics, int, string, int, int, int, int, bool, bool, TabStripPlacement, bool, bool, Font, Font)

Paints a sheet tab which is partially displayed.

Declaration
void PaintSheetTabPartial(Graphics g, int sheet, string text, int x, int y, int width, int height, bool mouseOver, bool focused, TabStripPlacement placement, bool isLeftToRight, bool enabled, Font font, Font activeFont)
Sub PaintSheetTabPartial(g As Graphics, sheet As Integer, text As String, x As Integer, y As Integer, width As Integer, height As Integer, mouseOver As Boolean, focused As Boolean, placement As TabStripPlacement, isLeftToRight As Boolean, enabled As Boolean, font As Font, activeFont As Font)
Parameters
Type Name Description
Graphics g

Graphics device interface for painting the sheet tab

int sheet

Sheet index of sheet tab to render

string text

Sheet name

int x

X-coordinate

int y

Y-coordinate

int width

Width, in pixels

int height

Height, in pixels

bool mouseOver

Whether the mouse is over the sheet tab

bool focused

Whether the sheet tab has focus

TabStripPlacement placement

Location of the tab strip

bool isLeftToRight

Whether the sheet is oriented left-to-right

bool enabled

Whether the sheet is enabled

Font font

Font for sheet tab when not selected

Font activeFont

Font for sheet tab when selected