Layout.GetLineVisibleEnd(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.
Return the text offset after the last visible character (so whitespace is not counted) on the specified line.
[Android.Runtime.Register("getLineVisibleEnd", "(I)I", "GetGetLineVisibleEnd_IHandler")]
public virtual int GetLineVisibleEnd(int line);
[<Android.Runtime.Register("getLineVisibleEnd", "(I)I", "GetGetLineVisibleEnd_IHandler")>]
abstract member GetLineVisibleEnd : int -> int
override this.GetLineVisibleEnd : int -> int
Parameters
- line
- Int32
The zero-based index of the line.
Returns
The end offset after newline and trailing-space handling. The last line retains its trailing spaces.
- Attributes
Remarks
Return the text offset after the last visible character (so whitespace is not counted) on the specified line.
Java documentation for android.text.Layout.getLineVisibleEnd(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.