|
|
|
|
|
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).
Font1 is Font
Font1.Name = "Arial"
Font1.Color = LightYellow
Font1.Size = 14
Font1.SizeUnit = unitPoint
Font1.Orientation = 45
MyControl.Font = Font1
Sintaxis <Result>: Integer Angle (in degrees) of the specified Font variable. <Font name>: Font Name of the Font variable to be used. <Font name>: Font Name of the Font variable to be used. <New angle>: Integer New angle (in degrees) for the specified Font variable. Observaciones Se puede crear una fuente a partir de una variable de tipo Font. Para definir las características de la fuente, utilice: - la función FontCreate.
- las propiedades Charset, Orientation, StrikeOut, Color, Bold, Italic, CharacterSpacing, LineSpacing, Name, Underline, Size y SizeUnit.
Esta fuente se puede utilizar: 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:
Esta página también está disponible para…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|