MeasuredText.GetWidth(Int32, Int32) Method
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.
Returns the width of a given range.
[Android.Runtime.Register("getWidth", "(II)F", "GetGetWidth_IIHandler", ApiSince=29)]
public virtual float GetWidth (int start, int end);
[<Android.Runtime.Register("getWidth", "(II)F", "GetGetWidth_IIHandler", ApiSince=29)>]
abstract member GetWidth : int * int -> single
override this.GetWidth : int * int -> single
Parameters
- start
- Int32
an inclusive start index of the range
- end
- Int32
an exclusive end index of the range
Returns
- Attributes
Remarks
Returns the width of a given range.
Java documentation for android.graphics.text.MeasuredText.getWidth(int, int)
.
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.