MonobjcMonobjc Documented Class Library
GlyphInfoWithGlyphForFontBaseString Method (glyph, font, theString)
NamespacesMonobjc.AppKitNSGlyphInfoGlyphInfoWithGlyphForFontBaseString(UInt32, NSFont, NSString)

Instantiates and returns an NSGlyphInfo object using a glyph index and a specified font.

Original signature is '+ (NSGlyphInfo *)glyphInfoWithGlyph:(NSGlyph)glyph forFont:(NSFont *)font baseString:(NSString *)theString'

Available in Mac OS X v10.2 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static NSGlyphInfo GlyphInfoWithGlyphForFontBaseString(
	uint glyph,
	NSFont font,
	NSString theString
)
Public Shared Function GlyphInfoWithGlyphForFontBaseString ( _
	glyph As UInteger, _
	font As NSFont, _
	theString As NSString _
) As NSGlyphInfo
public:
static NSGlyphInfo^ GlyphInfoWithGlyphForFontBaseString(
	unsigned int glyph, 
	NSFont^ font, 
	NSString^ theString
)
Parameters
glyph (UInt32)
The identifier of the glyph.
font (NSFont)
The font object to be associated with the returned NSGlyphInfo object,
theString (NSString)
The part of the attributed string the returned instance is intended to override.
Return Value
The created NSGlyphInfo object or nil if the object couldn't be created.
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)