MonobjcMonobjc Documented Class Library
FontDescriptorWithSize Method (newPointSize)

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

Original signature is '- (NSFontDescriptor *)fontDescriptorWithSize:(CGFloat)newPointSize'

Available in Mac OS X v10.4 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual NSFontDescriptor FontDescriptorWithSize(
	CGFloat newPointSize
Public Overridable Function FontDescriptorWithSize ( _
	newPointSize As CGFloat _
) As NSFontDescriptor
virtual NSFontDescriptor^ FontDescriptorWithSize(
	CGFloat newPointSize
newPointSize (CGFloat)
The new point size.
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)