Share via


NSTextAttachmentContainer.GetAttachmentBounds Method

Definition

Returns the bounds of the text attachment.

[Foundation.Export("attachmentBoundsForTextContainer:proposedLineFragment:glyphPosition:characterIndex:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual CoreGraphics.CGRect GetAttachmentBounds(UIKit.NSTextContainer? textContainer, CoreGraphics.CGRect proposedLineFragment, CoreGraphics.CGPoint glyphPosition, UIntPtr characterIndex);
[<Foundation.Export("attachmentBoundsForTextContainer:proposedLineFragment:glyphPosition:characterIndex:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetAttachmentBounds : UIKit.NSTextContainer * CoreGraphics.CGRect * CoreGraphics.CGPoint * unativeint -> CoreGraphics.CGRect
override this.GetAttachmentBounds : UIKit.NSTextContainer * CoreGraphics.CGRect * CoreGraphics.CGPoint * unativeint -> CoreGraphics.CGRect

Parameters

textContainer
NSTextContainer
proposedLineFragment
CGRect
glyphPosition
CGPoint
characterIndex
UIntPtr

unativeint

Returns

Implements

Attributes

Applies to