共用方式為


NSLayoutManager.LayoutRect(NSTextBlock, NSRange) 方法

定義

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

參數

block
NSTextBlock
glyphRange
NSRange

傳回

屬性

適用於