Share via


NSLayoutManager.GetAttachmentSizeForGlyph(UIntPtr) Method

Definition

The size of the attachment cell associated with the glyph at the specified index

[Foundation.Export("attachmentSizeForGlyphAtIndex:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual CoreGraphics.CGSize GetAttachmentSizeForGlyph(UIntPtr glyphIndex);
[<Foundation.Export("attachmentSizeForGlyphAtIndex:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetAttachmentSizeForGlyph : unativeint -> CoreGraphics.CGSize
override this.GetAttachmentSizeForGlyph : unativeint -> CoreGraphics.CGSize

Parameters

glyphIndex
UIntPtr

unativeint

Returns

The size of attachment cell at the glyph at glyphIndex. Returns {-1.0f, -1.0f} if there is no attachment at the specified glyph.

Attributes

Applies to