MonobjcMonobjc Documented Class Library
FontDescriptorWithFamily Method (newFamily)

Returns a new font descriptor whose attributes are the same as the receiver but from the specified family.

Original signature is '- (NSFontDescriptor *)fontDescriptorWithFamily:(NSString *)newFamily'

Available in Mac OS X v10.4 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual NSFontDescriptor FontDescriptorWithFamily(
	NSString newFamily
Public Overridable Function FontDescriptorWithFamily ( _
	newFamily As NSString _
) As NSFontDescriptor
virtual NSFontDescriptor^ FontDescriptorWithFamily(
	NSString^ newFamily
newFamily (NSString)
The new font family.
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)