MonobjcMonobjc Documented Class Library
CreateWithFontName Method (name)
NamespacesMonobjc.ApplicationServicesCGFontCreateWithFontName(NSString)

Creates a font object corresponding to the font specified by a PostScript or full name.

Original signature is 'CGFontRef CGFontCreateWithFontName ( CFStringRef name );'

Available in Mac OS X v10.5 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static IntPtr CreateWithFontName(
	NSString name
)
Public Shared Function CreateWithFontName ( _
	name As NSString _
) As IntPtr
public:
static IntPtr CreateWithFontName(
	NSString^ name
)
Parameters
name (NSString)
MISSING
Return Value
The font object or NULL if the font can't be created. You are responsible for releasing this object using CGFontRelease.
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)