iOS Guides | Samples

MonoTouch.UIKit.NSTextAttachmentContainer Class

Defines the relationship between NSTextAttachments and a NSLayoutManager.

See Also: NSTextAttachmentContainer


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

Related content


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

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.