共用方式為


NSLayoutManager.SetLayoutRect(CGRect, NSTextBlock, NSRange) 方法

定義

[Foundation.Export("setLayoutRect:forTextBlock:glyphRange:")]
public virtual void SetLayoutRect (CoreGraphics.CGRect layoutRect, AppKit.NSTextBlock forTextBlock, Foundation.NSRange glyphRange);
abstract member SetLayoutRect : CoreGraphics.CGRect * AppKit.NSTextBlock * Foundation.NSRange -> unit
override this.SetLayoutRect : CoreGraphics.CGRect * AppKit.NSTextBlock * Foundation.NSRange -> unit

參數

layoutRect
CGRect
forTextBlock
NSTextBlock
glyphRange
NSRange
屬性

適用於