共用方式為


NSLayoutManager.BoundsRect(NSTextBlock, NSRange) 方法

定義

[Foundation.Export("boundsRectForTextBlock:glyphRange:")]
public virtual CoreGraphics.CGRect BoundsRect (AppKit.NSTextBlock block, Foundation.NSRange glyphRange);
abstract member BoundsRect : AppKit.NSTextBlock * Foundation.NSRange -> CoreGraphics.CGRect
override this.BoundsRect : AppKit.NSTextBlock * Foundation.NSRange -> CoreGraphics.CGRect

參數

block
NSTextBlock
glyphRange
NSRange

傳回

屬性

適用於