Share via


NSLayoutManager.SetExtraLineFragment(CGRect, CGRect, NSTextContainer) Method

Definition

Sets the details for the extra line fragment required when the text back is either totally empty or ends with a hard line break.

[Foundation.Export("setExtraLineFragmentRect:usedRect:textContainer:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void SetExtraLineFragment(CoreGraphics.CGRect fragmentRect, CoreGraphics.CGRect usedRect, UIKit.NSTextContainer container);
[<Foundation.Export("setExtraLineFragmentRect:usedRect:textContainer:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member SetExtraLineFragment : CoreGraphics.CGRect * CoreGraphics.CGRect * UIKit.NSTextContainer -> unit
override this.SetExtraLineFragment : CoreGraphics.CGRect * CoreGraphics.CGRect * UIKit.NSTextContainer -> unit

Parameters

fragmentRect
CGRect
usedRect
CGRect
container
NSTextContainer
Attributes

Remarks

Developers should only call this method when implementing custom typesetting.

Applies to