xamarinmac
namespace AppKit
{
    [Introduced(PlatformName.MacOSX, 10, 11, PlatformArchitecture.All, null)]
    [Protocol(Name = "NSTextAttachmentContainer", WrapperType = typeof(NSTextAttachmentContainerWrapper))]
    [ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "GetImage", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(CGRect), typeof(NSTextContainer), typeof(nuint) }, ReturnType = typeof(NSImage), Selector = "imageForBounds:textContainer:characterIndex:")]
    [ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "GetAttachmentBounds", ParameterByRef = new[] { false, false, false, false }, ParameterType = new[] { typeof(NSTextContainer), typeof(CGRect), typeof(CGPoint), typeof(nuint) }, ReturnType = typeof(CGRect), Selector = "attachmentBoundsForTextContainer:proposedLineFragment:glyphPosition:characterIndex:")]
    public interface INSTextAttachmentContainer : INativeObject, IDisposable
    {
        [BindingImpl(BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
        [Export("imageForBounds:textContainer:characterIndex:")]
        [Preserve(Conditional = true)]
        NSImage? GetImage(CGRect imageBounds, NSTextContainer? textContainer, nuint charIndex);
    }
}
Xamarin macOS 0.0
Information specific to xamarinmac
Assembly

Xamarin.Mac , Version=0.0.0.0, PublicKeyToken=84e04ff9cfb79065

Referencing

The API is automatically referenced.

Platform Restrictions

This framework does not have platform annotations.

  • Built-in API
  • Package-provided API

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