ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

The content of this page has been updated to version 27.  See documentation 27 now.
Help / WLanguage / WLanguage properties / Font management properties
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Italic (Property)
In french: Italique
The Italic property is used to:
  • Find out whether a Font variable is in italic type.
  • Modify the italic attribute of a Font variable.
Versions 17 and later
iPhone/iPad This property is now available for iPhone/iPad applications.
Versions 22 and later
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
Versions 27 and later
Android This property is now available for Android applications.
Android Widget This property is now available in Android widget mode.
Example
// Define the characteristics of a Font variable
Font1 is Font
Font1.Name = "Arial"
Font1.Size = 14
Font1.SizeUnit = unitPoint
Font1.Italic = True
// Apply the font to "MyControl"
MyControl.Font = Font1
Syntax

Finding out whether a Font variable is in italic type Hide the details

<Result> = <Font>.Italic
<Result>: Boolean
  • True if the specified Font variable is in italic type,
  • False otherwise.
<Font>: Font variable
Name of the Font variable to be used.

Modify the italic attribute of a Font variable Hide the details

<Font>.Italic = <Italic/Not italic>
<Font>: Font variable
Name of the Font variable to be used.
<Italic/Not italic>: Boolean
  • True if the Font variable must be in italic type,
  • False otherwise.
Remarks
A font can be created from a Font variable.
To define the font characteristics, use:
This font can be used:
Versions 27 and later
AndroidAndroid Widget This font can only be used in the controls of a window (Font property).
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help