Edit

Share via


INSTextAttachmentContainer Interface

Definition

Interface representing the required methods (if any) of the protocol NSTextAttachmentContainer.

[Foundation.Protocol(Name="NSTextAttachmentContainer", WrapperType=typeof(UIKit.NSTextAttachmentContainerWrapper))]
public interface INSTextAttachmentContainer : IDisposable, ObjCRuntime.INativeObject
type INSTextAttachmentContainer = interface
    interface INativeObject
    interface IDisposable
Derived
Attributes
Implements

Remarks

This interface contains the required methods (if any) from the protocol defined by NSTextAttachmentContainer.

If developers create classes that implement this interface, the implementation methods will automatically be exported to Objective-C with the matching signature from the method defined in the NSTextAttachmentContainer protocol.

Optional methods (if any) are provided by the T:UIKit.NSTextAttachmentContainer_Extensions class as extension methods to the interface, allowing developers to invoke any optional methods on the protocol.

Properties

Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)

Methods

GetAttachmentBounds(NSTextContainer, CGRect, CGPoint, nuint)

Returns the bounds of the text attachment.

GetImageForBounds(CGRect, NSTextContainer, nuint)

Returns an image rendered in bounds.

Applies to