共用方式為


NSText.SetTextColor(NSColor, NSRange) 方法

定義

[Foundation.Export("setTextColor:range:")]
public virtual void SetTextColor (AppKit.NSColor color, Foundation.NSRange range);
abstract member SetTextColor : AppKit.NSColor * Foundation.NSRange -> unit
override this.SetTextColor : AppKit.NSColor * Foundation.NSRange -> unit

參數

color
NSColor
range
NSRange
屬性

適用於