|
|
|
|
- Style of a control: Setting line spacing in the editor
- Font variable
LineSpacing (Property) In french: Interligne
The LineSpacing property gets and sets the line spacing for variables of type Font. The line spacing value corresponds to the multiplicative factor of the single line spacing. Reminder: Line spacing is the space between lines of text. MyFont is Font MyFont.Name = "Arial" MyFont.SizeUnit = unitPoint MyFont.Size = 12 MyFont.LineSpacing = 1.5 MyFont.CharacterSpacing = 5
Syntax
Getting the line spacing of a variable of type Font Hide the details
<Result> = <Font>.Line spacing
<Result>: Real Multiplicative factor of the single line spacing. <Font>: Font variable Name of the Font variable to be used.
Setting the line spacing of a variable of type Font Hide the details
<Font>.Line spacing = <Line spacing>
<Font>: Font variable Name of the Font variable to be used. <Line spacing>: Real Multiplicative factor of the single line spacing. Remarks Style of a control: Setting line spacing in the editor You can define the font used for the different elements of the control in the "Style" tab of the control description window. You can also set the line spacing and character spacing for the current font in the font size settings.
Font variable A font can be created from a Font variable. To define the font characteristics, use: - the FontCreate function.
- the Charset, Orientation, StrikeOut, Color, Bold, Italic, CharacterSpacing, LineSpacing, Name, Underline, Size and SizeUnit properties.
This font can be used:
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|