This content has been translated automatically. Click here to view the French version.
 Font variableLimits WINDEV WEBDEV WINDEV Mobile Others Orientation (Property) In french: Angle The Property Angle allows to:Find out the angle (in degrees) of a Font variable.Modify the angle (in degrees) of a Font variable.Remark: The angle is calculated counterclockwise from an horizontal line (trigonometric direction).Example // Define the characteristics of a Font variableFont1 is FontFont1.Name = "Arial"Font1.Size = 14Font1.Orientation = 45// Apply the font to "MyControl"MyControl.Font = Font1 Syntax Finding out the angle of a Font variable = .Angle : IntegerAngle (in degrees) of the specified Font variable. : FontName of the Font variable to use. Modifying the angle of a Font variable .Angle = : FontName of the Font variable to use. : IntegerNew angle (in degrees) for the specified Font variable. Remarks Font variableA font can be created from a Font variable.To define the font characteristics, use:FontCreate,Alphabet, Barred, Condensed, Color, Extended, Bold, Italics, Large, nom, Underlined and Size.This font can be used:To write text in drawings (dFont).To write in charts (grLabelFont, grLegendFont, grTitleFont and grAxisTitleFont).To print (iFont).In the fields of a window (Property Font of the fields of a window).In the fields of an report (Property Font of the fields of an report).LimitsWhen assigning a font to a field in a window, the Property Orientation is not taken into account.. Therefore, if MyFont has the following characteristics:Size 12ArialAngle 45Only the first two characteristics will be taken into account when the assignment is performed: MyControl.Font = MyFont Minimum version required Version 9 This page is also available for…