Share via


INSTextAttachmentLayout.GetImageForBounds Method

Definition

[Foundation.Export("imageForBounds:attributes:location:textContainer:")]
[Foundation.RequiredMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual UIKit.UIImage? GetImageForBounds(CoreGraphics.CGRect bounds, Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> attributes, UIKit.INSTextLocation location, UIKit.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> * UIKit.INSTextLocation * UIKit.NSTextContainer -> UIKit.UIImage
override this.GetImageForBounds : CoreGraphics.CGRect * Foundation.NSDictionary<Foundation.NSString, Foundation.NSObject> * UIKit.INSTextLocation * UIKit.NSTextContainer -> UIKit.UIImage

Parameters

bounds
CGRect
location
INSTextLocation
textContainer
NSTextContainer

Returns

Attributes

Applies to