Layout.GetLineLeft(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.
Get the leftmost position that should be exposed for horizontal scrolling on the specified line.
[Android.Runtime.Register("getLineLeft", "(I)F", "GetGetLineLeft_IHandler")]
public virtual float GetLineLeft(int line);
[<Android.Runtime.Register("getLineLeft", "(I)F", "GetGetLineLeft_IHandler")>]
abstract member GetLineLeft : int -> single
override this.GetLineLeft : int -> single
Parameters
- line
- Int32
The zero-based index of the line.
Returns
The leftmost horizontal pixel position to expose when scrolling the line.
- Attributes
Remarks
Get the leftmost position that should be exposed for horizontal scrolling on the specified line.
Java documentation for android.text.Layout.getLineLeft(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.