MonobjcMonobjc Documented Class Library
GlyphInfoWithGlyphNameForFontBaseString Method (glyphName, font, theString)
NamespacesMonobjc.AppKitNSGlyphInfoGlyphInfoWithGlyphNameForFontBaseString(NSString, NSFont, NSString)

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

Original signature is '+ (NSGlyphInfo *)glyphInfoWithGlyphName:(NSString *)glyphName forFont:(NSFont *)font baseString:(NSString *)theString'

Available in Mac OS X v10.2 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static NSGlyphInfo GlyphInfoWithGlyphNameForFontBaseString(
	NSString glyphName,
	NSFont font,
	NSString theString
)
Public Shared Function GlyphInfoWithGlyphNameForFontBaseString ( _
	glyphName As NSString, _
	font As NSFont, _
	theString As NSString _
) As NSGlyphInfo
public:
static NSGlyphInfo^ GlyphInfoWithGlyphNameForFontBaseString(
	NSString^ glyphName, 
	NSFont^ font, 
	NSString^ theString
)
Parameters
glyphName (NSString)
The name 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)