Share via


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, AppKit.NSTextBlockValueType type, AppKit.NSTextBlockLayer layer);
[<Foundation.Export("setWidth:type:forLayer:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member SetWidth : System.Runtime.InteropServices.NFloat * AppKit.NSTextBlockValueType * AppKit.NSTextBlockLayer -> unit
override this.SetWidth : System.Runtime.InteropServices.NFloat * AppKit.NSTextBlockValueType * AppKit.NSTextBlockLayer -> unit

Parameters

val
NFloat
Attributes

Applies to

SetWidth(NFloat, NSTextBlockValueType, NSTextBlockLayer, NSRectEdge)

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

Parameters

val
NFloat
edge
NSRectEdge
Attributes

Applies to