INSTextAttachmentContainer.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.
Returns the bounds of the text attachment.
[Foundation.Export("attachmentBoundsForTextContainer:proposedLineFragment:glyphPosition:characterIndex:")]
[Foundation.RequiredMember]
[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:")>]
[<Foundation.RequiredMember>]
[<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
- Attributes