AccessibilityNodeInfo.ExtraRenderingInfo.TextSizeInPx Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the text size if the node is a TextView
, or -1 otherwise.
public float TextSizeInPx { [Android.Runtime.Register("getTextSizeInPx", "()F", "", ApiSince=30)] get; }
[<get: Android.Runtime.Register("getTextSizeInPx", "()F", "", ApiSince=30)>]
member this.TextSizeInPx : single
Property Value
the text size of a TextView
, or -1 otherwise.
- Attributes
Remarks
Gets the text size if the node is a TextView
, or -1 otherwise. Useful for some accessibility services to understand whether the text is scalable and fits the view or not.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.