Spread Windows Forms 9.0 Product Documentation
Font Property (SheetTab)
Example 


Gets or sets the font for the sheet name in the sheet name tab.
Syntax
'Declaration
 
Public Property Font As Font
'Usage
 
Dim instance As SheetTab
Dim value As Font
 
instance.Font = value
 
value = instance.Font
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.
FarPoint.Win.Spread.SheetTab st; 
st = fpSpread1.TabStrip.ActiveSheetTab; 
st.Font = new Font("Comic Sans MS", 12); 
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 Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

SheetTab Class
SheetTab Members

 

 


Copyright © GrapeCity, inc. All rights reserved.