NSLayoutManager.GetGlyph Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| GetGlyph(UIntPtr) |
Retrieves the glyph at |
| GetGlyph(UIntPtr, Boolean) |
Retrieves the glyph as |
GetGlyph(UIntPtr)
Retrieves the glyph at glyphIndex.
[Foundation.Export("CGGlyphAtIndex:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual ushort GetGlyph(UIntPtr glyphIndex);
[<Foundation.Export("CGGlyphAtIndex:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetGlyph : unativeint -> uint16
override this.GetGlyph : unativeint -> uint16
Parameters
- glyphIndex
-
UIntPtr
unativeint
Returns
- Attributes
Remarks
Calling this method generates all glyphs up to and including the glyph at glyphIndex.
Applies to
GetGlyph(UIntPtr, Boolean)
Retrieves the glyph as glyphIndex, setting isValidIndex to true if the index is valid.
[Foundation.Export("CGGlyphAtIndex:isValidIndex:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual ushort GetGlyph(UIntPtr glyphIndex, out bool isValidIndex);
[<Foundation.Export("CGGlyphAtIndex:isValidIndex:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetGlyph : unativeint * bool -> uint16
override this.GetGlyph : unativeint * bool -> uint16
Parameters
- glyphIndex
-
UIntPtr
unativeint
- isValidIndex
- Boolean
Returns
- Attributes