Share via


NSTextAttachment.GetImageForBounds Method

Definition

Overloads

GetImageForBounds(CGRect, NSTextContainer, UIntPtr)

Returns an image rendered in bounds.

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

Parameters

bounds
CGRect
textContainer
NSTextContainer
characterIndex
UIntPtr

unativeint

Returns

Implements

Attributes

Applies to

GetImageForBounds(CGRect, NSDictionary<NSString,NSObject>, INSTextLocation, NSTextContainer)

[Foundation.Export("imageForBounds:attributes:location:textContainer:")]
[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:")>]
[<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

Implements

Attributes

Applies to