NSTextAttachment.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.
Overloads
| Name | Description |
|---|---|
| GetImageForBounds(CGRect, NSTextContainer, UIntPtr) |
Returns an image rendered in |
| GetImageForBounds(CGRect, NSDictionary<NSString,NSObject>, INSTextLocation, NSTextContainer) |
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 AppKit.NSImage? GetImageForBounds(CoreGraphics.CGRect bounds, AppKit.NSTextContainer? textContainer, UIntPtr characterIndex);
[<Foundation.Export("imageForBounds:textContainer:characterIndex:")>]
[<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
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 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:")>]
[<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
- attributes
- NSDictionary<NSString,NSObject>
- ___location
- INSTextLocation
- textContainer
- NSTextContainer
Returns
Implements
- Attributes