Spread ASP.NET 6.0 Product Documentation
Font Property
See Also  Send Feedback
FarPoint.Mvc.Spread Assembly > FarPoint.Mvc.Spread Namespace > FpSpread Class : Font Property


Glossary Item Box

This property is not used. To change the font for all the cells, please use the DefaultStyle property of the SheetView class.

Syntax

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

Property Value

FontInfo object that contains font information.

Remarks

This property is available at run time only.

You can specify the font size and name. You can also specify whether the font style is bold, italic, underlined, overlined, or strikethrough.

Note: The overline style is not supported in browsers release prior to Internet Explorer 4.

For more information on the font settings, see the FontInfo Class topic in the Visual Studio .NET help file.

Example

This example shows how to set the font for the default style.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2002-2012 GrapeCity, Inc. All Rights Reserved.