NSTextBlock.GetBoundsRect(CGRect, CGRect, NSTextContainer, NSRange) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
[Foundation.Export("boundsRectForContentRect:inRect:textContainer:characterRange:")]
public virtual CoreGraphics.CGRect GetBoundsRect (CoreGraphics.CGRect contentRect, CoreGraphics.CGRect rect, AppKit.NSTextContainer textContainer, Foundation.NSRange charRange);
abstract member GetBoundsRect : CoreGraphics.CGRect * CoreGraphics.CGRect * AppKit.NSTextContainer * Foundation.NSRange -> CoreGraphics.CGRect
override this.GetBoundsRect : CoreGraphics.CGRect * CoreGraphics.CGRect * AppKit.NSTextContainer * Foundation.NSRange -> CoreGraphics.CGRect
参数
- contentRect
- CGRect
- rect
- CGRect
- textContainer
- NSTextContainer
- charRange
- NSRange
返回
- 属性