Android.Graphics.Paint.MeasureText Method
Return the width of the text.

Syntax

[Android.Runtime.Register("measureText", "(Ljava/lang/String;II)F", "GetMeasureText_Ljava_lang_String_IIHandler")]
public virtual float MeasureText (string text, int start, int end)

Parameters

text
The text to measure. Cannot be null.
start
The index of the first character to start measuring
end
1 beyond the index of the last character to measure

Returns

Documentation for this section has not yet been entered.

Remarks

Return the width of the text.

[Android Documentation]

Requirements

Namespace: Android.Graphics
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1