Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What are the properties used to set bold characters in web development

2025-02-20 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

This article is to share with you about the properties used to set bold characters in web development. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.

The property used to set bold type is FontBold, while the FontItalic property is used to set whether the text is italic, the FontUnderLine attribute is used to set whether the text is underlined, and the FontSize attribute is used to set the font size of the text.

The property used to set whether the text font is bold is FontBold.

FontItalic is used to set whether the text is italic, FontUnderLine to set whether the text is underlined, FontSize to set the font size of the text, and FontBold to set whether the text is bold.

You can use the FontBold property to specify whether a font appears in bold style in the following situations:

When displaying or printing controls on forms and reports.

When the Print method is used on the report.

Read / write Boolean.

Grammar

Expression. The FontBold_ expression _ a variable that represents the * * TextBox** object.

Remarks

The FontBold property uses the following settings.

Remarks

Set the description True text in bold. False (default) text is not bold.

To use the FontBold property in a report, first create a Print event procedure to output the required text.

The appearance of fonts on the screen may be different from what they print out, depending on the computer and printer you are using.

Property, which is available in the property sheet control and can also be used to set the line width of the control's text. The FontBold property allows you to bold the text quickly; the relationship between the attributes gives you more control over the lineweight setting of the text. The following table lists the relationships between these property settings:

Table 2

IfThenFontBold = False thickness = normal (400) FontBold = True thickness = bold (700) FontWeight

< 700FontBold = FalseFontWeight >

= 700FontBold = True Thank you for reading! This is the end of this article on "what are the attributes used to set bold characters in web development?". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it for more people to see!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report