iOS Guides | Samples

MonoTouch.UIKit.NSTextAttachmentContainer Class

Defines the relationship between NSTextAttachments and a NSLayoutManager.

See Also: NSTextAttachmentContainer

Syntax

[MonoTouch.Foundation.Model]
[MonoTouch.Foundation.Protocol]
[MonoTouch.Foundation.Register("NSTextAttachmentContainer", false)]
public class NSTextAttachmentContainer : NSObject, INSTextAttachmentContainer, IDisposable

Related content

Requirements

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

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

See Also: NSObject

Public Constructors

Default constructor, initializes a new instance of this class.
A constructor that initializes the object from the data stored in the unarchiver object.
Constructor to call on derived classes to skip initialization and merely allocate the object.
A constructor used when creating managed representations of unmanaged objects; Called by the runtime.

Public Methods

GetAttachmentBounds(NSTextContainer, RectangleF, PointF, UInt32) : RectangleF
The RectangleF describing the bounds of this NSTextAttachmentContainer.
GetImageForBounds(RectangleF, NSTextContainer, UInt32) : UIImage
Retrieves the image object rendered by the layout manager in the given image bounds inside the text container.