AssistStructure.ViewNode.TextSize 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
如果 #getText() 非空,則為其主要文字大小(以像素計)。
public virtual float TextSize { [Android.Runtime.Register("getTextSize", "()F", "GetGetTextSizeHandler", ApiSince=23)] get; }
[<get: Android.Runtime.Register("getTextSize", "()F", "GetGetTextSizeHandler", ApiSince=23)>]
member this.TextSize : single
屬性值
- 屬性
備註
如果 #getText() 非空,則為其主要文字大小(以像素計)。 請注意,文字中也可能包含樣式跨度,會修改特定文字部分的大小。
它只在輔助用途時才有意義 AssistStructure ,不適合自動填充。
Java 文件 android.app.assist.AssistStructure.ViewNode.getTextSize()。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。