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


Glossary Item Box

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

This property is available at run time only.

Example

This example sets the font for the spreadsheet.
C#Copy Code
fpSpread1.Font = new Font("Comic Sans MS", 14);
Visual BasicCopy Code
FpSpread1.Font = New Font("Comic Sans MS", 14)

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.