Spread WPF Documentation
ActualFontWeight Property (Cell)
Example 


GrapeCity.Windows.SpreadSheet.Data Namespace > Cell Class : ActualFontWeight Property
Gets or sets the displayed weight for the cell font.
Syntax
'Declaration
 
Public ReadOnly Property ActualFontWeight As System.Windows.FontWeight
'Usage
 
Dim instance As Cell
Dim value As System.Windows.FontWeight
 
value = instance.ActualFontWeight
public System.Windows.FontWeight ActualFontWeight {get;}

Property Value

The weight of the font.
Example
This example gets the ActualFontWeight 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()
See Also

Reference

Cell Class
Cell Members