iOS Guides | Samples

MonoTouch.UIKit.INSTextAttachmentContainer

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

See Also: INSTextAttachmentContainer

Syntax

[MonoTouch.Foundation.Protocol(Name="NSTextAttachmentContainer", WrapperType=typeof(MonoTouch.UIKit.NSTextAttachmentContainerWrapper))]
[MonoTouch.Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="GetImageForBounds", ParameterByRef=Mono.Cecil.CustomAttributeArgument[], ParameterType=Mono.Cecil.CustomAttributeArgument[], ReturnType=typeof(MonoTouch.UIKit.UIImage), Selector="imageForBounds:textContainer:characterIndex:")]
[MonoTouch.Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="GetAttachmentBounds", ParameterByRef=Mono.Cecil.CustomAttributeArgument[], ParameterType=Mono.Cecil.CustomAttributeArgument[], ReturnType=typeof(MonoTouch.CoreGraphics.CGRect), Selector="attachmentBoundsForTextContainer:proposedLineFragment:glyphPosition:characterIndex:")]
public interface INSTextAttachmentContainer : INativeObject, IDisposable

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 NSTextAttachmentContainer_Extensions class as extension methods to the interface, allowing developers to invoke any optional methods on the protocol.

Requirements

Namespace: MonoTouch.UIKit
Assembly: monotouch (in monotouch.dll)
Assembly Versions: 0.0.0.0

The members of MonoTouch.UIKit.INSTextAttachmentContainer are listed below.