Share via


NSTextAttachment.GetAttachmentBounds Method

Definition

Overloads

GetAttachmentBounds(NSTextContainer, CGRect, CGPoint, UIntPtr)

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(AppKit.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 : AppKit.NSTextContainer * CoreGraphics.CGRect * CoreGraphics.CGPoint * unativeint -> CoreGraphics.CGRect
override this.GetAttachmentBounds : AppKit.NSTextContainer * CoreGraphics.CGRect * CoreGraphics.CGPoint * unativeint -> CoreGraphics.CGRect

Parameters

textContainer
NSTextContainer
proposedLineFragment
CGRect
glyphPosition
CGPoint
characterIndex
UIntPtr

unativeint

Returns

Implements

Attributes

Applies to

GetAttachmentBounds(NSDictionary<NSString,NSObject>, INSTextLocation, NSTextContainer, CGRect, CGPoint)

[Foundation.Export("attachmentBoundsForAttributes:___location:textContainer:proposedLineFragment:position:")]
[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:")>]
[<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

___location
INSTextLocation
textContainer
NSTextContainer
proposedLineFragment
CGRect
position
CGPoint

Returns

Implements

Attributes

Applies to