Gets or sets the default font for sheets in the component.
Syntax
Visual Basic (Declaration) | |
---|
Public Overrides Property Font As Font |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As FpSpread
Dim value As Font
instance.Font = value
value = instance.Font |
C# | |
---|
public override Font Font {get; set;} |
Property Value
Font object containing the font settings
Remarks
Example
This example sets the font for the spreadsheet.
C# | Copy Code |
---|
fpSpread1.Font = new Font("Comic Sans MS", 14); |
Visual Basic | Copy Code |
---|
FpSpread1.Font = New Font("Comic Sans MS", 14) |
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