共用方式為


NSLayoutManager.EnumerateEnclosingRects 方法

定義

[Foundation.Export("enumerateEnclosingRectsForGlyphRange:withinSelectedGlyphRange:inTextContainer:usingBlock:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void EnumerateEnclosingRects (Foundation.NSRange glyphRange, Foundation.NSRange selectedRange, AppKit.NSTextContainer textContainer, AppKit.NSTextLayoutEnumerateEnclosingRects callback);
abstract member EnumerateEnclosingRects : Foundation.NSRange * Foundation.NSRange * AppKit.NSTextContainer * AppKit.NSTextLayoutEnumerateEnclosingRects -> unit
override this.EnumerateEnclosingRects : Foundation.NSRange * Foundation.NSRange * AppKit.NSTextContainer * AppKit.NSTextLayoutEnumerateEnclosingRects -> unit

參數

glyphRange
NSRange
selectedRange
NSRange
textContainer
NSTextContainer
屬性

適用於