Share via


INSTextAttachmentLayout Interface

Definition

This interface represents the Objective-C protocol NSTextAttachmentLayout.

[Foundation.Protocol(Name="NSTextAttachmentLayout", WrapperType=typeof(AppKit.NSTextAttachmentLayoutWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="GetImageForBounds", ParameterByRef=new System.Boolean[] { false, false, false, false }, ParameterType=new System.Type[] { typeof(CoreGraphics.CGRect), typeof(Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject>), typeof(AppKit.INSTextLocation), typeof(AppKit.NSTextContainer) }, ReturnType=typeof(AppKit.NSImage), Selector="imageForBounds:attributes:___location:textContainer:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="GetAttachmentBounds", ParameterByRef=new System.Boolean[] { false, false, false, false, false }, ParameterType=new System.Type[] { typeof(Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject>), typeof(AppKit.INSTextLocation), typeof(AppKit.NSTextContainer), typeof(CoreGraphics.CGRect), typeof(CoreGraphics.CGPoint) }, ReturnType=typeof(CoreGraphics.CGRect), Selector="attachmentBoundsForAttributes:___location:textContainer:proposedLineFragment:position:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="GetViewProvider", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSView), typeof(AppKit.INSTextLocation), typeof(AppKit.NSTextContainer) }, ReturnType=typeof(AppKit.NSTextAttachmentViewProvider), Selector="viewProviderForParentView:___location:textContainer:")]
public interface INSTextAttachmentLayout : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(Name="NSTextAttachmentLayout", WrapperType=typeof(AppKit.NSTextAttachmentLayoutWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="GetImageForBounds", ParameterByRef=new System.Boolean[] { false, false, false, false }, ParameterType=new System.Type[] { typeof(CoreGraphics.CGRect), typeof(Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject>), typeof(AppKit.INSTextLocation), typeof(AppKit.NSTextContainer) }, ReturnType=typeof(AppKit.NSImage), Selector="imageForBounds:attributes:___location:textContainer:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="GetAttachmentBounds", ParameterByRef=new System.Boolean[] { false, false, false, false, false }, ParameterType=new System.Type[] { typeof(Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject>), typeof(AppKit.INSTextLocation), typeof(AppKit.NSTextContainer), typeof(CoreGraphics.CGRect), typeof(CoreGraphics.CGPoint) }, ReturnType=typeof(CoreGraphics.CGRect), Selector="attachmentBoundsForAttributes:___location:textContainer:proposedLineFragment:position:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="GetViewProvider", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSView), typeof(AppKit.INSTextLocation), typeof(AppKit.NSTextContainer) }, ReturnType=typeof(AppKit.NSTextAttachmentViewProvider), Selector="viewProviderForParentView:___location:textContainer:")>]
type INSTextAttachmentLayout = interface
    interface INativeObject
    interface IDisposable
Derived
Attributes
Implements

Remarks

A class that implements this interface (and subclasses NSObject) will be exported to Objective-C as implementing the Objective-C protocol this interface represents.

A class may also implement members from this interface to implement members from the protocol.

Applies to