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
GetGlyph(nuint) |
Retrieves the glyph at . |
GetGlyph(nuint, Boolean) |
Retrieves the glyph as , setting to |
GetGlyph(nuint)
Retrieves the glyph at .
[Foundation.Export("CGGlyphAtIndex:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual ushort GetGlyph (nuint glyphIndex);
abstract member GetGlyph : nuint -> uint16
override this.GetGlyph : nuint -> uint16
Parameters
- glyphIndex
- System.System.UIntPtr System.unativeint
Returns
- Attributes
Remarks
Calling this method generates all glyphs up to and including the glyph at .
Applies to
GetGlyph(nuint, Boolean)
Retrieves the glyph as , setting to true
if the index is valid.
[Foundation.Export("CGGlyphAtIndex:isValidIndex:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual ushort GetGlyph (nuint glyphIndex, ref bool isValidIndex);
abstract member GetGlyph : nuint * -> uint16
override this.GetGlyph : nuint * -> uint16
Parameters
- glyphIndex
- System.System.UIntPtr System.unativeint
- isValidIndex
- Boolean
Returns
- Attributes