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.
Remark: When a font is struck out, a horizontal line is drawn through the text. For example: Text with strikethrough formatting.
// Define the characteristics of a Font variable Font1 is Font Font1.Name = "Arial" Font1.Size = 14 Font1.SizeUnit = unitPoint Font1.StrikeOut = True // Apply the font to "MyControl" MyControl.Font = Font1
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: - the FontCreate function.
 This function is not available. - the Charset, Orientation, StrikeOut, Color, Bold, Italic, CharacterSpacing, LineSpacing, Name, Underline, Size and SizeUnit properties.
Only the following properties can be used with the Font type: Orientation, StrikeOut, Color, Bold, Italic, Name, Underline, Size.
 The Charset and Orientation properties are not available for Font variables.
This font can be used:
This page is also available for…
|
|
|
|