xamarinios
namespace UIKit
{
    [Protocol(Name = "NSTextAttachmentContainer", WrapperType = typeof(NSTextAttachmentContainerWrapper))]
    [ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "GetImageForBounds", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(CGRect), typeof(NSTextContainer), typeof(nuint) }, ReturnType = typeof(UIImage), 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)]
        UIImage! GetImageForBounds(CGRect bounds, NSTextContainer! textContainer, nuint characterIndex);
    }
}
Xamarin iOS 0.0
Xamarin tvOS 0.0
Information specific to xamarinios
Assembly

Xamarin.iOS , 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

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