WmlMobileTextWriter.WmlFormat.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.

public:
 property bool Italic { bool get(); void set(bool value); };
public bool Italic { get; set; }
member this.Italic : bool with get, set
Public Property Italic As Boolean

属性值

Boolean

如果字体为斜体,则为 true;否则,为 falsetrue if the font is italic; otherwise, false.

注解

Italic属性采用 BooleanOption 枚举,而不是布尔值。The Italic property takes a BooleanOption enumeration, not a Boolean value.

适用于