Spread Silverlight Documentation
ActualFontFamily Property (Cell)
Example 


Gets or sets the displayed font family of the cell.
Syntax
'Declaration
 
Public ReadOnly Property ActualFontFamily As System.Windows.Media.FontFamily
'Usage
 
Dim instance As Cell
Dim value As System.Windows.Media.FontFamily
 
value = instance.ActualFontFamily
public System.Windows.Media.FontFamily ActualFontFamily {get;}

Property Value

The font family.
Example
This example gets the ActualFontFamily 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 7, Windows 8 Desktop, Windows Vista SP1 or later, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

Reference

Cell Class
Cell Members

 

 


Copyright © GrapeCity, inc. All rights reserved.