GrapeCity.Xaml.SpreadSheet.Data
ActualFontStyle Property (Cell)
Example 


Gets or sets the displayed cell font style.
Syntax
'Declaration
 
Public ReadOnly Property ActualFontStyle As FontStyle
'Usage
 
Dim instance As Cell
Dim value As FontStyle
 
value = instance.ActualFontStyle
public FontStyle ActualFontStyle {get;}

Property Value

The font style of the font.
Example
This example gets the ActualFontStyle property.
TextBox1.Text = GcSpreadSheet1.Sheets[0].Cells[0, 0].ActualFontFamily.ToString();
TextBox2.Text = GcSpreadSheet1.Sheets[0].Cells[0, 0].ActualFontSize.ToString();
TextBox3.Text = GcSpreadSheet1.Sheets[0].Cells[0, 0].ActualFontStretch.ToString();
TextBox4.Text = GcSpreadSheet1.Sheets[0].Cells[0, 0].ActualFontStyle.ToString();
TextBox5.Text = GcSpreadSheet1.Sheets[0].Cells[0, 0].ActualFontWeight.ToString();
TextBox1.Text = GcSpreadSheet1.Sheets(0).Cells(0, 0).ActualFontFamily.ToString()
TextBox2.Text = GcSpreadSheet1.Sheets(0).Cells(0, 0).ActualFontSize.ToString()
TextBox3.Text = GcSpreadSheet1.Sheets(0).Cells(0, 0).ActualFontStretch.ToString()
TextBox4.Text = GcSpreadSheet1.Sheets(0).Cells(0, 0).ActualFontStyle.ToString()
TextBox5.Text = GcSpreadSheet1.Sheets(0).Cells(0, 0).ActualFontWeight.ToString()
Requirements

Target Platforms: Windows Server 2012, Windows RT

See Also

Reference

Cell Class
Cell Members

 

 


Copyright © GrapeCity, inc. All rights reserved.

Support Options