INSTextAttachmentCellProtocol.DrawWithFrame 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 |
|---|---|
| DrawWithFrame(CGRect, NSView) | |
| DrawWithFrame(CGRect, NSView, UIntPtr) | |
| DrawWithFrame(CGRect, NSView, UIntPtr, NSLayoutManager) |
DrawWithFrame(CGRect, NSView)
[Foundation.Export("drawWithFrame:inView:")]
[Foundation.RequiredMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void DrawWithFrame(CoreGraphics.CGRect cellFrame, AppKit.NSView? controlView);
[<Foundation.Export("drawWithFrame:inView:")>]
[<Foundation.RequiredMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member DrawWithFrame : CoreGraphics.CGRect * AppKit.NSView -> unit
override this.DrawWithFrame : CoreGraphics.CGRect * AppKit.NSView -> unit
Parameters
- cellFrame
- CGRect
- controlView
- NSView
- Attributes
Applies to
DrawWithFrame(CGRect, NSView, UIntPtr)
[Foundation.Export("drawWithFrame:inView:characterIndex:")]
[Foundation.RequiredMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void DrawWithFrame(CoreGraphics.CGRect cellFrame, AppKit.NSView? controlView, UIntPtr charIndex);
[<Foundation.Export("drawWithFrame:inView:characterIndex:")>]
[<Foundation.RequiredMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member DrawWithFrame : CoreGraphics.CGRect * AppKit.NSView * unativeint -> unit
override this.DrawWithFrame : CoreGraphics.CGRect * AppKit.NSView * unativeint -> unit
Parameters
- cellFrame
- CGRect
- controlView
- NSView
- charIndex
-
UIntPtr
unativeint
- Attributes
Applies to
DrawWithFrame(CGRect, NSView, UIntPtr, NSLayoutManager)
[Foundation.Export("drawWithFrame:inView:characterIndex:layoutManager:")]
[Foundation.RequiredMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void DrawWithFrame(CoreGraphics.CGRect cellFrame, AppKit.NSView? controlView, UIntPtr charIndex, AppKit.NSLayoutManager layoutManager);
[<Foundation.Export("drawWithFrame:inView:characterIndex:layoutManager:")>]
[<Foundation.RequiredMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member DrawWithFrame : CoreGraphics.CGRect * AppKit.NSView * unativeint * AppKit.NSLayoutManager -> unit
override this.DrawWithFrame : CoreGraphics.CGRect * AppKit.NSView * unativeint * AppKit.NSLayoutManager -> unit
Parameters
- cellFrame
- CGRect
- controlView
- NSView
- charIndex
-
UIntPtr
unativeint
- layoutManager
- NSLayoutManager
- Attributes