WmlMobileTextWriter.WmlFormat 类

定义

存储字体格式属性。Stores the font format attributes. 若要了解如何开发 ASP.NET 移动应用,请参阅 Mobile Apps & Sites with ASP.NET (ASP.NET 移动应用和网站)。For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

protected: ref class WmlMobileTextWriter::WmlFormat
protected class WmlMobileTextWriter.WmlFormat
Protected Class WmlMobileTextWriter.WmlFormat
继承
WmlMobileTextWriter.WmlFormat

注解

类由 WmlMobileTextWriter.WmlFormat WmlMobileTextWriter 类使用。The WmlMobileTextWriter.WmlFormat class is used by the WmlMobileTextWriter class.

构造函数

WmlMobileTextWriter.WmlFormat(Boolean, Boolean, FontSize)

初始化 WmlMobileTextWriter.WmlFormat 的新实例。Initializes a new instance of WmlMobileTextWriter.WmlFormat. 此 API 已废弃不用。This API is obsolete. 若要了解如何开发 ASP.NET 移动应用,请参阅 Mobile Apps & Sites with ASP.NET (ASP.NET 移动应用和网站)。For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

WmlMobileTextWriter.WmlFormat(Style, WmlMobileTextWriter+WmlFormat)

初始化 WmlMobileTextWriter.WmlFormat 的新实例。Initializes a new instance of WmlMobileTextWriter.WmlFormat. 此 API 已废弃不用。This API is obsolete. 若要了解如何开发 ASP.NET 移动应用,请参阅 Mobile Apps & Sites with ASP.NET (ASP.NET 移动应用和网站)。For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

属性

Bold

设置或返回字体是否为粗体。Sets or returns whether the font is bold. 默认值是 NotSetThe default value is NotSet. 此 API 已废弃不用。This API is obsolete. 若要了解如何开发 ASP.NET 移动应用,请参阅 Mobile Apps & Sites with ASP.NET (ASP.NET 移动应用和网站)。For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

Italic

获取或设置一个值,该值指示字体是否为斜体。Gets or sets a value indicating whether the font is italic. 默认值是 NotSetThe default value is NotSet. 此 API 已废弃不用。This API is obsolete. 若要了解如何开发 ASP.NET 移动应用,请参阅 Mobile Apps & Sites with ASP.NET (ASP.NET 移动应用和网站)。For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

Size

获取或设置指定字体大小。Gets or sets the specified font size. 此 API 已废弃不用。This API is obsolete. 若要了解如何开发 ASP.NET 移动应用,请参阅 Mobile Apps & Sites with ASP.NET (ASP.NET 移动应用和网站)。For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

WrittenBold

获取或设置一个值,它指示是否使用粗体属性编写文本。Gets or sets a value that indicates whether the text was written with the bold attribute. 此 API 已废弃不用。This API is obsolete. 若要了解如何开发 ASP.NET 移动应用,请参阅 Mobile Apps & Sites with ASP.NET (ASP.NET 移动应用和网站)。For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

WrittenItalic

获取或设置一个指示是否使用斜体属性编写文本的值。Gets or sets a value that indicates whether the text was written with the italic attribute. 此 API 已废弃不用。This API is obsolete. 若要了解如何开发 ASP.NET 移动应用,请参阅 Mobile Apps & Sites with ASP.NET (ASP.NET 移动应用和网站)。For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

WrittenSize

获取或设置一个值,它指示是否使用大小属性编写文本。Gets or sets a value that indicates whether the text was written with the size attribute. 此 API 已废弃不用。This API is obsolete. 若要了解如何开发 ASP.NET 移动应用,请参阅 Mobile Apps & Sites with ASP.NET (ASP.NET 移动应用和网站)。For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

方法

Compare(WmlMobileTextWriter+WmlFormat)

WmlMobileTextWriter.WmlFormat 对象与当前的 WmlMobileTextWriter.WmlFormat 对象进行比较。Compares a WmlMobileTextWriter.WmlFormat object to the current WmlMobileTextWriter.WmlFormat object. 此 API 已废弃不用。This API is obsolete. 若要了解如何开发 ASP.NET 移动应用,请参阅 Mobile Apps & Sites with ASP.NET (ASP.NET 移动应用和网站)。For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

Equals(Object)

确定指定对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetHashCode()

作为默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(继承自 Object)

适用于