FontInfo 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
The System.Web.Mobile.dll assembly has been deprecated and should no longer be used. For information about how to develop ASP.NET mobile applications, see http://go.microsoft.com/fwlink/?LinkId=157231.
提供对有关 ASP.NET 移动控件的所有字体相关样式信息的访问权限。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅
public ref class FontInfo
[System.ComponentModel.TypeConverter(typeof(System.ComponentModel.ExpandableObjectConverter))]
public class FontInfo
[System.ComponentModel.TypeConverter(typeof(System.ComponentModel.ExpandableObjectConverter))]
[System.Obsolete("The System.Web.Mobile.dll assembly has been deprecated and should no longer be used. For information about how to develop ASP.NET mobile applications, see http://go.microsoft.com/fwlink/?LinkId=157231.")]
public class FontInfo
[<System.ComponentModel.TypeConverter(typeof(System.ComponentModel.ExpandableObjectConverter))>]
type FontInfo = class
[<System.ComponentModel.TypeConverter(typeof(System.ComponentModel.ExpandableObjectConverter))>]
[<System.Obsolete("The System.Web.Mobile.dll assembly has been deprecated and should no longer be used. For information about how to develop ASP.NET mobile applications, see http://go.microsoft.com/fwlink/?LinkId=157231.")>]
type FontInfo = class
Public Class FontInfo
- 继承
-
FontInfo
- 属性
注解
该 FontInfo 类提供 Web 窗体 System.Web.UI.WebControls.FontInfo 类功能的子集。
属性
| 名称 | 说明 |
|---|---|
| Bold |
已过时.
获取或设置一个值,该值指示字体是否为粗体。 默认值为 |
| Italic |
已过时.
获取或设置一个值,该值指示字体是否为斜体。 默认值为 |
| Name |
已过时.
获取或设置指定字体的名称。 默认值为空字符串 ("")。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 |
| Size |
已过时.
获取或设置指定的字号。 必须是类型 FontSize。 默认值为 |
方法
| 名称 | 说明 |
|---|---|
| Equals(Object) |
已过时.
确定指定对象是否等于当前对象。 (继承自 Object) |
| GetHashCode() |
已过时.
用作默认哈希函数。 (继承自 Object) |
| GetType() |
已过时.
获取当前实例的 Type。 (继承自 Object) |
| MemberwiseClone() |
已过时.
创建当前 Object的浅表副本。 (继承自 Object) |
| ToString() |
已过时.
将指定的值转换为其等效的字符串表示形式。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 |