Spread Windows Forms 6.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 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

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