MonobjcMonobjc Documented Class Library
FontDescriptorWithFace Method (newFace)

Returns a new font descriptor that is the same as the receiver but with the specified face.

Original signature is '- (NSFontDescriptor *)fontDescriptorWithFace:(NSString *)newFace'

Available in Mac OS X v10.4 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual NSFontDescriptor FontDescriptorWithFace(
	NSString newFace
Public Overridable Function FontDescriptorWithFace ( _
	newFace As NSString _
) As NSFontDescriptor
virtual NSFontDescriptor^ FontDescriptorWithFace(
	NSString^ newFace
newFace (NSString)
The new font face.
Return Value
The new font descriptor.
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)