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 Forms System.Web.UI.WebControls.FontInfo 類別功能的子集。
屬性
| 名稱 | Description |
|---|---|
| Bold |
已淘汰.
取得或設定一個值,表示字型是否為粗體。 預設值為 |
| Italic |
已淘汰.
會取得或設定一個值,指示字型是否為斜體。 預設值為 |
| Name |
已淘汰.
取得或設定指定字型名稱。 預設值是空字串 ("")。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 |
| Size |
已淘汰.
取得或設定指定的字型大小。 必須是類型 FontSize。 預設值為 |
方法
| 名稱 | Description |
|---|---|
| Equals(Object) |
已淘汰.
判斷指定的物件是否等於目前的物件。 (繼承來源 Object) |
| GetHashCode() |
已淘汰.
做為預設哈希函式。 (繼承來源 Object) |
| GetType() |
已淘汰.
取得目前實例的 Type。 (繼承來源 Object) |
| MemberwiseClone() |
已淘汰.
建立目前 Object的淺層複本。 (繼承來源 Object) |
| ToString() |
已淘汰.
將指定的值轉換為其等價的字串表示。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 |