Share via


NSText.SetFont(NSFont, NSRange) 方法

定义

[Foundation.Export("setFont:range:")]
public virtual void SetFont (AppKit.NSFont font, Foundation.NSRange range);
abstract member SetFont : AppKit.NSFont * Foundation.NSRange -> unit
override this.SetFont : AppKit.NSFont * Foundation.NSRange -> unit

参数

font
NSFont
range
NSRange
属性

适用于