MonobjcMonobjc Documented Class Library
GlyphAtIndexIsValidIndex Method (glyphIndex, isValidIndex)
NamespacesMonobjc.AppKitNSLayoutManagerGlyphAtIndexIsValidIndex(NSUInteger, Boolean%)

If the given index is valid, returns the glyph at that location and optionally returns a flag indicating whether the requested index is in range.

Original signature is '- (NSGlyph)glyphAtIndex:(NSUInteger)glyphIndex isValidIndex:(BOOL *)isValidIndex'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual uint GlyphAtIndexIsValidIndex(
	NSUInteger glyphIndex,
	out bool isValidIndex
)
Public Overridable Function GlyphAtIndexIsValidIndex ( _
	glyphIndex As NSUInteger, _
	<OutAttribute> ByRef isValidIndex As Boolean _
) As UInteger
public:
virtual unsigned int GlyphAtIndexIsValidIndex(
	NSUInteger glyphIndex, 
	[OutAttribute] bool% isValidIndex
)
Parameters
glyphIndex (NSUInteger)
The index of the glyph to be returned.
isValidIndex (Boolean%)
If not NULL, on output, YES if the requested index is in range; otherwise NO.
Return Value
The glyph at the requested index, or NSNullGlyph if the requested index is out of the range {0, numberOfGlyphs}.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)