PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
This content has been translated automatically. Click here to view the French version.
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Italic (Property)
In french: Italique
Italic is used to:
  • Find out whether a Font variable is written in italics.
  • Modify the italic attribute of a Font variable.
Example
// Define the characteristics of a Font variable
Font1 is Font
Police1.Nom= "Arial"
Font1.Size = 14
Font1.Italic = True
// Apply the font to "MyControl"
MyFont Field = Font 1
Syntax

Finding out whether a Font variable is written in italics Hide the details

<Result> = <Font>.italics
<Result>: Boolean
  • True if the specified font variable is in italics,
  • False otherwise.
<Font>: Font variable
Name of the Font variable to use.

Modify the italic attribute of a Font variable Hide the details

<Font>.italics = <Italic/Not italic>
<Font>: Font variable
Name of Font variable to use.
<Italic/Not italic>: Boolean
  • True if the Font variable must be written in italics,
  • False otherwise.
Remarks
A font can be created from a Font variable.
To define the font characteristics, use:
This font can be used:
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment