Recommended: Use "regular expression" object to implement UBB style forum in ASP Last time, we talked about how to use regular expression objects to achieve verification of various data in ASP. The article describes the powerful functions of regular expression objects. Next, let's take a look at other functions of regular expression objects.
Font Properties (Font Properties)
BkColor As Long (read/write) (Background color is defined as longevity)
Specifies the font's background color. Font.BkMode must be set to anything other that transparent for this property to take effect.
Set the font background color, Font.BkMode (background mode) must be set to other mode attribute values that cannot be transparent to take effect.
(That is, transparent is transparent)
BkMode As String (read/write) (background mode)
Transparent by default. If set to any other value, such as Opaque, the font's background is colored with Font.BkColor.
Transparent is the default. If set to another value, such as Opaque, the background color of the font will be the value of Font.BkColor.
(Note that if not set to Opaque, you must set this jpeg.Canvas.DrawGraph)
Bold As Long (read/write)
Specifies whether a bold font should be used. False by default.
Color As Long (read/write)
Specifies font color, eg &H00FF00 for green. 0 (black) by default.
Set the font color. For example:&H00FF00 is green.0 (black) is the default value
Description: Please use hexadecimal expression: Join &H
Family As String (read/write) (font)
Specifies font family such as Arial or Courier New. A system-default font is used if this property is not specified, or the specified font is not found.
Set the font to Arial or Courier New. The system will use the default font. If the font is not set, or the font set is not found.
Italic As Long (read/write)
Specifies whether an italic font should be used. False by default.
Quality As Long (read/write) (Quality)
Specifies text quality. Valid values: 0 (Default), 1 (Draft), 2 (Proof), 3 (Non-Antialiased), 4 (Antialiased).
Text usually appears anti-aliased only if the Font.BkMode is set to Opaque.
Set the quality of text (watermark): Can be used: 0 (default) 1 (draft) 2 (proof) 3 () 4 ()
Text watermark If you want to display anti-aliased, only Font.BkMode mode is set to Opaque
Specifies the color of a text shadow, if present.
Specifies text rotation angle (in degrees, rotation is counter-clockwise). 0 (horizontal) by default.
Rotation As Long (read/write) ShadowColor As Long (read/write) ShadowXoffset As Long (read/write)
Specifies horizontal offset of a text shadow, in pixels. 0 by default (no shadow).
ShadowYoffset As Long (read/write)
Specifies vertical offset of a text shadow, in pixels. 0 by default (no shadow).
Size As Long (read/write)
Specifies font size, in pixels. 24 by default.
Underlined As Long (read/write)
Specifies whether an underlined font should be used. False by default
Share: ASP 3.0 Advanced Programming (32) 7.2.4 Client Script Error So far, we have learned about the errors from ASP. However, ASP is also often used to create web pages containing client scripts. If the <SCRIPT> element containing the client code is not set to RUNAT=SERVER