AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / WLanguage / Propiedades WLanguage / Propiedades de gestión de fuentes
  • Font variable
  • Limitations
WINDEV
WindowsLinuxJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac Catalyst
Otros
Procedimientos almacenados
The Orientation property is used to:
  • Get the angle (in degrees) of a Font variable.
  • Modify the angle (in degrees) of a Font variable.
Note The angle is calculated from a horizontal line running counter-clockwise (trigonometrically).
Ejemplo
// Define the characteristics of a Font variable
Font1 is Font
Font1.Name = "Arial"
Font1.Color = LightYellow
Font1.Size = 14
Font1.SizeUnit = unitPoint
Font1.Orientation = 45
// Apply the font to "MyControl"
MyControl.Font = Font1
Sintaxis

Getting the angle of a Font variable Ocultar los detalles

<Result> = <Font name>.Orientation
<Result>: Integer
Angle (in degrees) of the specified Font variable.
<Font name>: Font
Name of the Font variable to be used.

Modifying the angle of a Font variable Ocultar los detalles

<Font name>.Orientation = <New angle>
<Font name>: Font
Name of the Font variable to be used.
<New angle>: Integer
New angle (in degrees) for the specified Font variable.
Observaciones

Font variable

Se puede crear una fuente a partir de una variable de tipo Font.
Para definir las características de la fuente, utilice:
Esta fuente se puede utilizar:

Limitations

Orientation is ignored when a font is assigned to a window control.
For example, if the variable of type Police MyFont has the following characteristics: Size 12, Arial, Angle 45, only the first two characteristics will be taken into account when assigning it as follows:
MyControl.Font = MyFont
Versión mínima requerida
  • Versión 9
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 13/05/2025

Señalar un error o enviar una sugerencia | Ayuda local