INSTextAttachmentLayout.GetAttachmentBounds Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
[Foundation.Export("attachmentBoundsForAttributes:location:textContainer:proposedLineFragment:position:")]
[Foundation.RequiredMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual CoreGraphics.CGRect GetAttachmentBounds(Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> attributes, AppKit.INSTextLocation location, AppKit.NSTextContainer? textContainer, CoreGraphics.CGRect proposedLineFragment, CoreGraphics.CGPoint position);
[<Foundation.Export("attachmentBoundsForAttributes:location:textContainer:proposedLineFragment:position:")>]
[<Foundation.RequiredMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetAttachmentBounds : Foundation.NSDictionary<Foundation.NSString, Foundation.NSObject> * AppKit.INSTextLocation * AppKit.NSTextContainer * CoreGraphics.CGRect * CoreGraphics.CGPoint -> CoreGraphics.CGRect
override this.GetAttachmentBounds : Foundation.NSDictionary<Foundation.NSString, Foundation.NSObject> * AppKit.INSTextLocation * AppKit.NSTextContainer * CoreGraphics.CGRect * CoreGraphics.CGPoint -> CoreGraphics.CGRect
Parameters
- attributes
- NSDictionary<NSString,NSObject>
- location
- INSTextLocation
- textContainer
- NSTextContainer
- proposedLineFragment
- CGRect
- position
- CGPoint
Returns
- Attributes