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