PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
  • Font variable
  • Limits
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
Condensed (Property)
In french: Condensé
The Condensed property is used to:
  • Determine whether a Font variable is condensed.
  • Condense a Font variable.
Remark: Stretched font characters can be:
  • Normal: characters are normal.
  • Condensed: characters are narrower (Condensed property).
  • Extended: characters are wider (Extended property).
  • Large: characters are as wide as possible (Large property).
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

Determining 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 the variable of type Font to be used.

Condensing a Font variable Hide the details

<Font>.Condensed = <Condensed/Not condensed>
<Font>: Font variable
Name of the variable of type Font to be used.
<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 that define character stretch options (Condensed, Extended and Large properties) are supported only if the specified Font variable is used for printing (print font or font of controls in a 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