共用方式為


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
屬性

適用於