Share via


IconMarginSpan.GetLeadingMargin(Boolean) Method

Definition

Returns the amount by which to adjust the leading margin.

[Android.Runtime.Register("getLeadingMargin", "(Z)I", "GetGetLeadingMargin_ZHandler")]
public virtual int GetLeadingMargin (bool first);
[<Android.Runtime.Register("getLeadingMargin", "(Z)I", "GetGetLeadingMargin_ZHandler")>]
abstract member GetLeadingMargin : bool -> int
override this.GetLeadingMargin : bool -> int

Parameters

first
Boolean

true if the request is for the first line of a paragraph, false for subsequent lines

Returns

Implements

Attributes

Remarks

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.

Applies to