ASP.NET MVC

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class FontGroup - ASP.NETMVC API Reference | Syncfusion

    Show / Hide Table of Contents

    Class FontGroup

    Summary description for FontGroup.

    Inheritance
    System.Object
    CommonObject
    FontGroup
    Implements
    System.IDisposable
    IFont
    IParentApplication
    IOptimizedUpdate
    Inherited Members
    CommonObject.m_bIsDisposed
    CommonObject.FindParent(Type)
    CommonObject.FindParent(Type, Boolean)
    CommonObject.FindParent(Object, Type)
    CommonObject.FindParent(Object, Type, Boolean)
    CommonObject.FindParents(Type[])
    CommonObject.FindParent(Type[])
    CommonObject.SetParent(Object)
    CommonObject.CheckDisposed()
    CommonObject.AddReference()
    CommonObject.ReleaseReference()
    CommonObject.Dispose()
    CommonObject.OnDispose()
    CommonObject.Application
    CommonObject.Parent
    CommonObject.AppImplementation
    CommonObject.ReferenceCount
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.XlsIO.Implementation.Collections.Grouping
    Assembly: Syncfusion.XlsIO.Base.dll
    Syntax
    public class FontGroup : CommonObject, IDisposable, IFont, IParentApplication, IOptimizedUpdate

    Constructors

    FontGroup(IApplication, Object)

    Creates new instance of the group.

    Declaration
    public FontGroup(IApplication application, object parent)
    Parameters
    Type Name Description
    IApplication application

    Application object for the new group.

    System.Object parent

    Parent object for the new group.

    Properties

    Bold

    True if the font is bold. Read / write Boolean.

    Declaration
    public bool Bold { get; set; }
    Property Value
    Type Description
    System.Boolean

    Color

    Returns or sets the primary color of the object. Read / write ExcelKnownColors.

    Declaration
    public ExcelKnownColors Color { get; set; }
    Property Value
    Type Description
    ExcelKnownColors

    Count

    Returns number of elements in the group. Read-only.

    Declaration
    public int Count { get; }
    Property Value
    Type Description
    System.Int32

    FontName

    Returns or sets the font name. Read / write string.

    Declaration
    public string FontName { get; set; }
    Property Value
    Type Description
    System.String

    IsAutoColor

    Indicates whether color is automatically selected. Read-only.

    Declaration
    public bool IsAutoColor { get; }
    Property Value
    Type Description
    System.Boolean

    Italic

    True if the font style is italic. Read / write Boolean.

    Declaration
    public bool Italic { get; set; }
    Property Value
    Type Description
    System.Boolean

    Item[Int32]

    Returns single entry from the group. Read-only.

    Declaration
    public IFont this[int index] { get; }
    Parameters
    Type Name Description
    System.Int32 index
    Property Value
    Type Description
    IFont

    MacOSOutlineFont

    True if the font is an outline font. Read / write Boolean.

    Declaration
    public bool MacOSOutlineFont { get; set; }
    Property Value
    Type Description
    System.Boolean

    MacOSShadow

    True if the font is a shadow font or if the object has a shadow. Read / write Boolean.

    Declaration
    public bool MacOSShadow { get; set; }
    Property Value
    Type Description
    System.Boolean

    RGBColor

    Gets / sets font color. Searches for the closest color in the workbook palette.

    Declaration
    public Color RGBColor { get; set; }
    Property Value
    Type Description
    System.Drawing.Color

    Size

    Returns or sets the size of the font. Read / write Variant.

    Declaration
    public double Size { get; set; }
    Property Value
    Type Description
    System.Double

    Strikethrough

    True if the font is struck through with a horizontal line. Read / write Boolean

    Declaration
    public bool Strikethrough { get; set; }
    Property Value
    Type Description
    System.Boolean

    Subscript

    True if the font is formatted as subscript. False by default. Read / write Boolean.

    Declaration
    public bool Subscript { get; set; }
    Property Value
    Type Description
    System.Boolean

    Superscript

    True if the font is formatted as superscript. False by default. Read/write Boolean

    Declaration
    public bool Superscript { get; set; }
    Property Value
    Type Description
    System.Boolean

    Underline

    Returns or sets the type of underline applied to the font. Can be one of the following ExcelUnderlineStyle constants. Read / write ExcelUnderline.

    Declaration
    public ExcelUnderline Underline { get; set; }
    Property Value
    Type Description
    ExcelUnderline

    VerticalAlignment

    Gets / sets font vertical alignment.

    Declaration
    public ExcelFontVertialAlignment VerticalAlignment { get; set; }
    Property Value
    Type Description
    ExcelFontVertialAlignment

    Methods

    BeginUpdate()

    This method should be called before several updates to the object will take place.

    Declaration
    public void BeginUpdate()

    EndUpdate()

    This method should be called after several updates to the object took place.

    Declaration
    public void EndUpdate()

    GenerateNativeFont()

    Generates .Net font object corresponding to the current font.

    Declaration
    public Font GenerateNativeFont()
    Returns
    Type Description
    System.Drawing.Font

    Generated .Net font.

    Implements

    System.IDisposable
    IFont
    IParentApplication
    IOptimizedUpdate
    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved