NSTextAttachmentContainer.GetImageForBounds 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 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