NSTextBlock.SetWidth 方法

定义

重载

SetWidth(nfloat, NSTextBlockValueType, NSTextBlockLayer)
SetWidth(nfloat, NSTextBlockValueType, NSTextBlockLayer, NSRectEdge)

SetWidth(nfloat, NSTextBlockValueType, NSTextBlockLayer)

[Foundation.Export("setWidth:type:forLayer:")]
public virtual void SetWidth (nfloat val, AppKit.NSTextBlockValueType type, AppKit.NSTextBlockLayer layer);
abstract member SetWidth : nfloat * AppKit.NSTextBlockValueType * AppKit.NSTextBlockLayer -> unit
override this.SetWidth : nfloat * AppKit.NSTextBlockValueType * AppKit.NSTextBlockLayer -> unit

参数

val
nfloat
属性

适用于

SetWidth(nfloat, NSTextBlockValueType, NSTextBlockLayer, NSRectEdge)

[Foundation.Export("setWidth:type:forLayer:edge:")]
public virtual void SetWidth (nfloat val, AppKit.NSTextBlockValueType type, AppKit.NSTextBlockLayer layer, AppKit.NSRectEdge edge);
abstract member SetWidth : nfloat * AppKit.NSTextBlockValueType * AppKit.NSTextBlockLayer * AppKit.NSRectEdge -> unit
override this.SetWidth : nfloat * AppKit.NSTextBlockValueType * AppKit.NSTextBlockLayer * AppKit.NSRectEdge -> unit

参数

val
nfloat
edge
NSRectEdge
属性

适用于