Typeface.Stretch Propiedad

Definición

Obtiene el valor de ensanchamiento de Typeface. Este valor determina si se expande o se comprime un tipo de letra 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 de FontStretch que representa el valor de ensanchamiento del 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 estira un formulario de fuente a partir de su relación de aspecto normal, que es la relación de ancho original a alto especificada para los glifos de la fuente.

Se aplica a