Typeface.Stretch Propiedad

Definición

Obtiene el valor de stretch para .Typeface El valor de stretch determina si un tipo de letra se expande o se condensa cuando se muestra.

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 propiedad

Valor FontStretch que representa el valor extendido para el tipo de letra.

Ejemplos

// 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

Comentarios

Un valor de extensión de fuente describe el grado en que se extiende un formulario de fuente a partir de su relación de aspecto normal, que es la relación de ancho a alto original especificada para los glifos de la fuente.

Se aplica a