TextBoundsInfoResultCode Enum
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.
Identifies the outcome of a text bounds information request.
public enum TextBoundsInfoResultCode
type TextBoundsInfoResultCode =
- Inheritance
-
TextBoundsInfoResultCode
Fields
| Name | Value | Description |
|---|---|---|
| Unsupported | 0 | The editor does not implement the text bounds request. Android reference for 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. |
| Success | 1 | The text bounds request succeeded and the editor returned a TextBoundsInfo. Android reference for 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. |
| Failed | 2 | The text bounds request failed because the editor cannot provide valid text bounds, for example when the editor view is not laid out. Android reference for 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. |
| Cancelled | 3 | The text bounds request was cancelled because the input connection is or became invalid, for example when a new connection starts or InvalidateInput(View) is called. Android reference for 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. |
Remarks
These codes distinguish a successful result from unsupported, failed, or cancelled requests.