Language

NSTextBlock.SetWidth Method

Definition

Overloads

SetWidth(NFloat, NSTextBlockValueType, NSTextBlockLayer)

[Foundation.Export("setWidth:type:forLayer:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void SetWidth(System.Runtime.InteropServices.NFloat val, UIKit.NSTextBlockValueType type, UIKit.NSTextBlockLayer layer);
[<Foundation.Export("setWidth:type:forLayer:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member SetWidth : System.Runtime.InteropServices.NFloat * UIKit.NSTextBlockValueType * UIKit.NSTextBlockLayer -> unit
override this.SetWidth : System.Runtime.InteropServices.NFloat * UIKit.NSTextBlockValueType * UIKit.NSTextBlockLayer -> unit

Parameters

val
NFloat
Attributes

Applies to

SetWidth(NFloat, NSTextBlockValueType, NSTextBlockLayer, CGRectEdge)

[Foundation.Export("setWidth:type:forLayer:rectEdge:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void SetWidth(System.Runtime.InteropServices.NFloat width, UIKit.NSTextBlockValueType type, UIKit.NSTextBlockLayer layer, CoreGraphics.CGRectEdge rectEdge);
[<Foundation.Export("setWidth:type:forLayer:rectEdge:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member SetWidth : System.Runtime.InteropServices.NFloat * UIKit.NSTextBlockValueType * UIKit.NSTextBlockLayer * CoreGraphics.CGRectEdge -> unit
override this.SetWidth : System.Runtime.InteropServices.NFloat * UIKit.NSTextBlockValueType * UIKit.NSTextBlockLayer * CoreGraphics.CGRectEdge -> unit

Parameters

width
NFloat
rectEdge
CGRectEdge
Attributes

Applies to