Share via


INSTextAttachmentContainer Interface

Definition

Defines the relationship between NSTextAttachments and a NSLayoutManager.

[Foundation.Protocol(Name="NSTextAttachmentContainer", WrapperType=typeof(UIKit.NSTextAttachmentContainerWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="GetImageForBounds", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(CoreGraphics.CGRect), typeof(UIKit.NSTextContainer), typeof(System.UIntPtr) }, ReturnType=typeof(UIKit.UIImage), Selector="imageForBounds:textContainer:characterIndex:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="GetAttachmentBounds", ParameterByRef=new System.Boolean[] { false, false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.NSTextContainer), typeof(CoreGraphics.CGRect), typeof(CoreGraphics.CGPoint), typeof(System.UIntPtr) }, ReturnType=typeof(CoreGraphics.CGRect), Selector="attachmentBoundsForTextContainer:proposedLineFragment:glyphPosition:characterIndex:")]
public interface INSTextAttachmentContainer : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(Name="NSTextAttachmentContainer", WrapperType=typeof(UIKit.NSTextAttachmentContainerWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="GetImageForBounds", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(CoreGraphics.CGRect), typeof(UIKit.NSTextContainer), typeof(System.UIntPtr) }, ReturnType=typeof(UIKit.UIImage), Selector="imageForBounds:textContainer:characterIndex:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="GetAttachmentBounds", ParameterByRef=new System.Boolean[] { false, false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.NSTextContainer), typeof(CoreGraphics.CGRect), typeof(CoreGraphics.CGPoint), typeof(System.UIntPtr) }, ReturnType=typeof(CoreGraphics.CGRect), Selector="attachmentBoundsForTextContainer:proposedLineFragment:glyphPosition:characterIndex:")>]
type INSTextAttachmentContainer = interface
    interface INativeObject
    interface IDisposable
Derived
Attributes
Implements

Properties

Name Description
Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)

Methods

Name Description
GetAttachmentBounds(NSTextContainer, CGRect, CGPoint, UIntPtr)

Returns the bounds of the text attachment.

GetImageForBounds(CGRect, NSTextContainer, UIntPtr)

Returns an image rendered in bounds.

Extension Methods

Name Description
GetHandle(INativeObject)
GetNonNullHandle(INativeObject, String)

Applies to

See also