NSTextBlock.SetWidth 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
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
- type
- NSTextBlockValueType
- layer
- NSTextBlockLayer
- 屬性
適用於
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
- type
- NSTextBlockValueType
- layer
- NSTextBlockLayer
- edge
- NSRectEdge
- 屬性