MonobjcMonobjc Documented Class Library
SetInContext Method (graphicsContext)

Sets this font as the font for the specified graphics context.

Original signature is '- (void)setInContext:(NSGraphicsContext *)graphicsContext'

Available in Mac OS X v10.4 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void SetInContext(
	NSGraphicsContext graphicsContext
Public Overridable Sub SetInContext ( _
	graphicsContext As NSGraphicsContext _
virtual void SetInContext(
	NSGraphicsContext^ graphicsContext
graphicsContext (NSGraphicsContext)
The graphics context for which the font is set.
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)