Spread ASP.NET 15
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / PagerInfo Class / Font Property

In This Topic
    Font Property (PagerInfo)
    In This Topic
    Gets or sets the font information for the page navigation aids.
    Public Property Font As FontInfo
    Dim instance As PagerInfo
    Dim value As FontInfo
    instance.Font = value
    value = instance.Font
    public FontInfo Font {get; set;}

    Property Value

    FontInfo object that contains the font settings

    You can specify several aspects of the font, including the the style, the size, and the face name. For more information on the font settings in general, refer to the FontInfo class members, and for a list of the font styles in particular, refer to the FontStyle enumeration, in the Microsoft .NET Framework Reference.

    The setting for this property can be overridden if a named style is assigned to the cell using the StyleName property, and that named style sets the Font object.

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

    FpSpread1.Columns.Count = 5;
    FpSpread1.Rows.Count = 150;
    FpSpread1.ActiveSheetView.PageSize = 30;
    FarPoint.Web.Spread.PagerInfo pinf;
    pinf = FpSpread1.Pager;
    pinf.Align = HorizontalAlign.Right;
    pinf.BackColor = Color.Yellow;
    pinf.CssClass = "CssStyle1";
    pinf.Font.Bold = true;
    pinf.ForeColor = Color.Red;
    pinf.Mode = FarPoint.Web.Spread.PagerMode.NextPrev;
    pinf.PageCount = 30;
    pinf.Position = FarPoint.Web.Spread.PagerPosition.Top;
    FpSpread1.Columns.Count = 5
    FpSpread1.Rows.Count = 150
    FpSpread1.ActiveSheetView.PageSize = 30
    Dim pinf As FarPoint.Web.Spread.PagerInfo
    pinf = FpSpread1.Pager
    pinf.Align = HorizontalAlign.Right
    pinf.BackColor = Color.Yellow
    pinf.CssClass = "CssStyle1"
    pinf.Font.Bold = True
    pinf.ForeColor = Color.Red
    pinf.Mode = FarPoint.Web.Spread.PagerMode.NextPrev
    pinf.PageCount = 30
    pinf.Position = FarPoint.Web.Spread.PagerPosition.Top
    See Also