Share via


INSTextAttachmentContainer.GetImageForBounds Method

Definition

Returns an image rendered in bounds.

[Foundation.Export("imageForBounds:textContainer:characterIndex:")]
[Foundation.RequiredMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual AppKit.NSImage? GetImageForBounds(CoreGraphics.CGRect bounds, AppKit.NSTextContainer? textContainer, UIntPtr characterIndex);
[<Foundation.Export("imageForBounds:textContainer:characterIndex:")>]
[<Foundation.RequiredMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetImageForBounds : CoreGraphics.CGRect * AppKit.NSTextContainer * unativeint -> AppKit.NSImage
override this.GetImageForBounds : CoreGraphics.CGRect * AppKit.NSTextContainer * unativeint -> AppKit.NSImage

Parameters

bounds
CGRect
textContainer
NSTextContainer
characterIndex
UIntPtr

unativeint

Returns

Attributes

Applies to