net9.0-macos14.2
namespace AppKit
{
    [Protocol(Name = "NSTextAttachmentLayout", WrapperType = typeof(NSTextAttachmentLayoutWrapper))]
    [ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "GetImageForBounds", ParameterByRef = new[] { false, false, false, false }, ParameterType = new[] { typeof(CGRect), typeof(NSDictionary<NSString, NSObject>), typeof(INSTextLocation), typeof(NSTextContainer) }, ReturnType = typeof(NSImage), Selector = "imageForBounds:attributes:location:textContainer:")]
    [ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "GetAttachmentBounds", ParameterByRef = new[] { false, false, false, false, false }, ParameterType = new[] { typeof(NSDictionary<NSString, NSObject>), typeof(INSTextLocation), typeof(NSTextContainer), typeof(CGRect), typeof(CGPoint) }, ReturnType = typeof(CGRect), Selector = "attachmentBoundsForAttributes:location:textContainer:proposedLineFragment:position:")]
    [ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "GetViewProvider", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(NSView), typeof(INSTextLocation), typeof(NSTextContainer) }, ReturnType = typeof(NSTextAttachmentViewProvider), Selector = "viewProviderForParentView:location:textContainer:")]
    [SupportedOSPlatform("macos12.0")]
    [SupportedOSPlatform("maccatalyst15.0")]
    [UnsupportedOSPlatform("tvos")]
    [UnsupportedOSPlatform("ios")]
    public interface INSTextAttachmentLayout : INativeObject, IDisposable
}
.NET 6.07.08.09.0
Information specific to net9.0
Platforms This API is only available when you target a specific platform:
macOS 10.1410.1510.1611.011.111.211.312.012.112.313.013.113.314.014.2
Information specific to net9.0-macos14.2
Assembly

Microsoft.macOS , Version=14.2.0.0, PublicKeyToken=84e04ff9cfb79065

Referencing

The API is automatically referenced.

Platform Restrictions

This API is only supported on the following platforms:

  • iOS
  • Mac Catalyst 0 - 15
  • macOS >= 12
  • tvOS
  • Built-in API
  • Package-provided API

11/04/2024
An error has occurred. This application may no longer respond until reloaded. Reload 🗙