Click or drag to resize

IInternalFont Interface

Summary description for IInternalFont.

Namespace: Spire.Xls.Core.Interfaces
Assembly: Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
public interface IInternalFont : IFont, 
	IExcelApplication, IOptimizedUpdate

The IInternalFont type exposes the following members.

Properties
Name Description
Public property Color
Gets / sets font color. Searches for the closestes color in the workbook palette.
(Inherited from IFont .)
Public property Font
Returns XlsFont for current font. Read-only.
Public property FontName
Returns or sets the font name. Read / write string.
(Inherited from IFont .)
Public property Index
Returns font index. Read-only.
Public property IsAutoColor
Indicates whether color is automatically selected. Read-only.
(Inherited from IFont .)
Public property IsBold
True if the font is bold. Read / write Boolean.
(Inherited from IFont .)
Public property IsItalic
True if the font style is italic. Read / write Boolean.
(Inherited from IFont .)
Public property IsStrikethrough
True if the font is struck through with a horizontal line. Read / write Boolean
(Inherited from IFont .)
Public property IsSubscript
True if the font is formatted as subscript. False by default. Read / write Boolean.
(Inherited from IFont .)
Public property IsSuperscript
True if the font is formatted as superscript. False by default. Read/write Boolean
(Inherited from IFont .)
Public property KnownColor
Returns or sets the primary color of the object, as shown in the following table. Use the RGB function to create a color value. Read / write Integer.
(Inherited from IFont .)
Public property Parent
Gets the parent object of the current instance.
(Inherited from IExcelApplication .)
Public property Size
Returns or sets the size of the font. Read / write Variant.
(Inherited from IFont .)
Public property StrikethroughType
Strikethrough Type. Read / write sngStrike dblStrike
(Inherited from IFont .)
Public property Underline
Returns or sets the type of underline applied to the font. Can be one of the following FontUnderlineTypeStyle constants. Read / write FontUnderlineType.
(Inherited from IFont .)
Public property VerticalAlignment
Gets / sets font vertical alignment.
(Inherited from IFont .)
Top
Methods
Name Description
Public method BeginUpdate
This method should be called before several updates to the object will take place.
(Inherited from IOptimizedUpdate .)
Public method EndUpdate
This method should be called after several updates to the object took place.
(Inherited from IOptimizedUpdate .)
Public method GenerateNativeFont
Generates .Net font object corresponding to the current font.
(Inherited from IFont .)
Public method GetThemeColor
Get the theme color.
(Inherited from IFont .)
Public method SetThemeColor
Set the theme color.
(Inherited from IFont .)
Top
See Also