Share via


INSTextAttachmentLayout.GetImageForBounds Method

Definition

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

Parameters

bounds
CGRect
location
INSTextLocation
textContainer
NSTextContainer

Returns

Attributes

Applies to