Excel for WinRT
XLFont Constructor(String,Single,Boolean,Boolean,Boolean,XLFontScript,XLUnderlineStyle,Color)


The font name, by default Arial.
The font size in points, by default 10 pt.
The bold flag of the font.
The italic flag of the font.
The strikeout flag of the font.
The font superscript/subscript, by default None.
Select XLUnderlineStyle as underline style, by default None.
The foreground color of the font, by default Black.
Excel font initialization.
Syntax
'Declaration
 
Public Function New( _
   ByVal fontName As System.String, _
   ByVal fontSize As System.Single, _
   ByVal bold As System.Boolean, _
   ByVal italic As System.Boolean, _
   ByVal strikeout As System.Boolean, _
   ByVal fs As XLFontScript, _
   ByVal us As XLUnderlineStyle, _
   ByVal color As Windows.UI.Color _
)
'Usage
 
Dim fontName As System.String
Dim fontSize As System.Single
Dim bold As System.Boolean
Dim italic As System.Boolean
Dim strikeout As System.Boolean
Dim fs As XLFontScript
Dim us As XLUnderlineStyle
Dim color As Windows.UI.Color
 
Dim instance As New XLFont(fontName, fontSize, bold, italic, strikeout, fs, us, color)
public XLFont( 
   System.string fontName,
   System.float fontSize,
   System.bool bold,
   System.bool italic,
   System.bool strikeout,
   XLFontScript fs,
   XLUnderlineStyle us,
   Windows.UI.Color color
)

Parameters

fontName
The font name, by default Arial.
fontSize
The font size in points, by default 10 pt.
bold
The bold flag of the font.
italic
The italic flag of the font.
strikeout
The strikeout flag of the font.
fs
The font superscript/subscript, by default None.
us
Select XLUnderlineStyle as underline style, by default None.
color
The foreground color of the font, by default Black.
See Also

Reference

XLFont Class
XLFont Members
Overload List

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback