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.
  • Font variable
  • Limits
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
Condensed (Property)
In french: Condensé
Condensed is used to:
  • Find out whether a Font variable is condensed.
  • Condense (or not) a Font variable.
Remark: The width of the characters of a font can be:
  • Normal: the width of characters is normal.
  • Condensed: the width of the characters is reduced (Property Condensed).
  • Extended: the width of characters is increased (Extended).
  • Large: the width of characters is increased to the maximum (Large).
Example
// Define the characteristics of a Font variable
Font1 is Font
Font1.Name = "Arial"
Font1.Size = 14
Font1.Condensed = True
// Apply the font to "MyControl"
MyControl.Font = Font1
Syntax

Finding out whether a Font variable is condensed Hide the details

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

Condensing (or not) a Font variable Hide the details

<Font>.Condensed = <Condensed/Not condensed>
<Font>: Font variable
Name of the Font variable to use.
<Condensed/Not condensed>: Boolean
  • True if the specified font must be condensed,
  • False otherwise.
Remarks

Font variable

A font can be created from a Font variable.
To define the font characteristics, use:
This font can be used:

Limits

The properties for defining character stretch (Condensed, Extended and Large properties) are maintained only if the specified Variable font type is used for printing (print font or field font of an report).
In the other cases (font used for the drawings, the charts or the window controls), these characteristics are ignored.
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment