Spread WPF 15
GrapeCity.Windows.SpreadSheet.Data Namespace / Cell Class / ActualFontStretch Property
Example


In This Topic
    ActualFontStretch Property (Cell)
    In This Topic
    Gets or sets the current degree to which a font is condensed or expanded.
    Syntax
    'Declaration
     
    Public ReadOnly Property ActualFontStretch As FontStretch
    'Usage
     
    Dim instance As Cell
    Dim value As FontStretch
     
    value = instance.ActualFontStretch
    public FontStretch ActualFontStretch {get;}

    Property Value

    The degree to which a font is condensed or expanded.
    Example
    This example gets the ActualFontStretch 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