ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
The content of this page has been updated to version 27.  See documentation 27 now.
Help / WLanguage / WLanguage properties / Font management properties
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
StrikeOut (Property)
In french: Barré
The StrikeOut property is used to:
  • Determine whether the strikethrough formatting is applied to a Font variable.
  • Apply strikethrough formatting to a Font variable.
Note When a font is crossed out, a horizontal line appears on each letter of the font. For example: Strikethrough text.
Example
// Définir les caractéristiques d'une variable de type Police
Police1 is Font
Police1.Name = "Arial"
Police1.Size = 14
Police1.SizeUnit = unitPoint
Police1.StrikeOut = True
// Appliquer la police au champ "MonChamp"
MyControl.Police = Police1
Syntax

Determining whether the strikethrough formatting is applied to a Font variable Hide the details

<Result> = <Font>.StrikeOut
<Result>: Boolean
  • True if the strikethrough formatting is applied to the specified Font variable,
  • False otherwise.
<Font>: Font variable
Name of the Font variable to be used.

Applying strike through formatting to a Font variable Hide the details

<Font>.StrikeOut = <Struck/Not struck>
<Font>: Font variable
Name of the Font variable to be used.
<Struck/Not struck>: Boolean
  • True if the strike through formatting must be applied to the specified Font variable,
  • 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

Last update: 05/13/2025

Send a report | Local help