Spread Windows Forms 7.0 Product Documentation
Font Property
See Also  Example Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SheetTab Class : Font Property


Glossary Item Box

Gets or sets the font for the sheet name in the sheet name tab.

Syntax

Visual Basic (Declaration) 
Public Property Font As Font
Visual Basic (Usage)Copy Code
Dim instance As SheetTab
Dim value As Font
 
instance.Font = value
 
value = instance.Font
C# 
public Font Font {get; set;}

Property Value

Font object containing the font settings

Remarks

If you increase the font size in the sheet tabs larger than the default, you might want to use the HorizontalScrollBarHeight property to change the height of the tab strip.

Example

This example changes the font of the active sheet tab.
C#Copy Code
FarPoint.Win.Spread.SheetTab st; 
st = fpSpread1.TabStrip.ActiveSheetTab; 
st.Font = new Font("Comic Sans MS", 12); 
Visual BasicCopy Code
Dim st As FarPoint.Win.Spread.SheetTab
st = FpSpread1.TabStrip.ActiveSheetTab
st.Font = New Font("Comic Sans MS", 12)

Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.