NSTextAttachment Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
An attachment to a NSAttributedString.
[Foundation.Register("NSTextAttachment", true)]
public class NSTextAttachment : Foundation.NSObject, Foundation.INSSecureCoding, IDisposable, UIKit.INSTextAttachmentContainer, UIKit.INSTextAttachmentLayout, UIKit.IUIAccessibilityContentSizeCategoryImageAdjusting
[<Foundation.Register("NSTextAttachment", true)>]
type NSTextAttachment = class
inherit NSObject
interface INSCoding
interface INativeObject
interface IDisposable
interface INSSecureCoding
interface INSTextAttachmentContainer
interface INSTextAttachmentLayout
interface IUIAccessibilityContentSizeCategoryImageAdjusting
- Inheritance
- Attributes
- Implements
Constructors
| Name | Description |
|---|---|
| NSTextAttachment() |
Creates a new NSTextAttachment with default values. |
| NSTextAttachment(NativeHandle) |
A constructor used when creating managed representations of unmanaged objects. Called by the runtime. |
| NSTextAttachment(NSCoder) |
A constructor that initializes the object from the data stored in the unarchiver object. |
| NSTextAttachment(NSData, String) |
Creates a new NSTextAttachment with the specified |
| NSTextAttachment(NSObjectFlag) |
Constructor to call on derived classes to skip initialization and merely allocate the object. |
Properties
| Name | Description |
|---|---|
| AccessibilityAttributedUserInputLabels | (Inherited from NSObject) |
| AccessibilityRespondsToUserInteraction | (Inherited from NSObject) |
| AccessibilityTextualContext | (Inherited from NSObject) |
| AccessibilityUserInputLabels | (Inherited from NSObject) |
| AdjustsImageSizeForAccessibilityContentSizeCategory |
Returns |
| AllowsTextAttachmentView | |
| Bounds | |
| Class | (Inherited from NSObject) |
| ClassHandle |
The Objective-C class handle for this class. |
| Contents |
The contents of the text attachment. Modification invalidates the Image property. |
| DebugDescription | (Inherited from NSObject) |
| Description | (Inherited from NSObject) |
| FileType | |
| FileWrapper |
The file wrapper associated with this NSTextAttachment. |
| Handle |
Handle (pointer) to the unmanaged object representation. (Inherited from NSObject) |
| Image | |
| IsDirectBinding | (Inherited from NSObject) |
| IsProxy | (Inherited from NSObject) |
| LineLayoutPadding | |
| RetainCount | (Inherited from NSObject) |
| Self | (Inherited from NSObject) |
| Superclass | (Inherited from NSObject) |
| SuperHandle |
Handle used to represent the methods in the base class for this NSObject. (Inherited from NSObject) |
| UsesTextAttachmentView | |
| Zone | (Inherited from NSObject) |