Typeface.Stretch Propriedade

Definição

Obtém o valor de estiramento para o Typeface. O valor de stretch determina se um tipo de letra é expandido ou condensado quando é exibido.

public:
 property System::Windows::FontStretch Stretch { System::Windows::FontStretch get(); };
public System.Windows.FontStretch Stretch { get; }
member this.Stretch : System.Windows.FontStretch
Public ReadOnly Property Stretch As FontStretch

Valor de Propriedade

Um FontStretch valor que representa o valor de stretch para a fonte.

Exemplos

// Get the font stretch value for the typeface.
FontStretch fontStretch = typeface.Stretch;

if (fontStretch == FontStretches.Condensed)
{
    // Perform action based on condensed stretch value.
}
' Get the font stretch value for the typeface.
Dim fontStretch As FontStretch = typeface.Stretch

If fontStretch = FontStretches.Condensed Then
    ' Perform action based on condensed stretch value.
End If

Observações

Um valor de alongamento da fonte descreve o grau em que a forma de uma fonte é esticada em relação à sua proporção normal, que é a relação largura-altura original especificada para os glifos na fonte.

Aplica-se a