MonobjcMonobjc Documented Class Library
NSFont Class
NamespacesMonobjc.AppKitNSFont

[Missing <summary> documentation for "T:Monobjc.AppKit.NSFont"]

Declaration Syntax
C#Visual BasicVisual C++
public class NSFont : NSObject, IManagedWrapper, 
	INSCopying, INSCoding
Public Class NSFont _
	Inherits NSObject _
	Implements IManagedWrapper, INSCopying, INSCoding
public ref class NSFont : public NSObject, 
	IManagedWrapper, INSCopying, INSCoding
Members
All MembersConstructorsMethodsPropertiesFields



IconMemberDescription
NSFont(NSCoder)

Returns an object initialized from data in a given unarchiver. (required)

Original signature is '- (id)initWithCoder:(NSCoder *)decoder'

Available in Mac OS X v10.0 and later.


NSFont()()()()
Initializes a new instance of the NSFont class.

NSFont(IntPtr)
Initializes a new instance of the NSFont class.

NSFont(String, Object, array<Object>[]()[][])
Initializes a new instance of the NSFont class.

AddObserverForKeyPathOptionsContext(NSObject, NSString, NSKeyValueObservingOptions, IntPtr)

Registers anObserver to receive KVO notifications for the specified key-path relative to the receiver.

Original signature is '- (void)addObserver:(NSObject *)anObserver forKeyPath:(NSString *)keyPath options:(NSKeyValueObservingOptions)options context:(void *)context'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
AdvancementForGlyph(UInt32)

Returns the nominal spacing for the given glyph—the distance the current point moves after showing the glyph—accounting for the receiver’s size.

Original signature is '- (NSSize)advancementForGlyph:(NSGlyph)aGlyph'

Available in Mac OS X v10.0 and later.


AfmDictionary Obsolete.

Returns the AFM font’s dictionary. (Deprecated in Mac OS X v10.4. Use accessor functions listed in “Keys to the AFM Dictionary” instead.)

Original signature is '- (NSDictionary *)afmDictionary'

Available in Mac OS X v10.0 and later.


Alloc()()()()
Allocates a new native instance.
(Inherited from Id.)
Ascender

Returns the top y-coordinate, offset from the baseline, of the receiver’s longest ascender.

Original signature is '- (CGFloat)ascender'

Available in Mac OS X v10.0 and later.


AttributeKeys

Returns an array of NSString objects containing the names of immutable values that instances of the receiver's class contain.

Original signature is '- (NSArray *)attributeKeys'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
AutoContentAccessingProxy

Creates and returns an autoreleased proxy for the receiving object

Original signature is '- (id)autoContentAccessingProxy'

Available in Mac OS X v10.6 and later.

(Inherited from NSObject.)
Autorelease()()()()

Adds the receiver to the current autorelease pool.

Original signature is '- (id)autorelease'

Available in Mac OS X v10.0 and later.

(Inherited from Id.)
AwakeAfterUsingCoder(NSCoder)

Overridden by subclasses to substitute another object in place of the object that was decoded and subsequently received this message.

Original signature is '- (id)awakeAfterUsingCoder:(NSCoder *)aDecoder'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
BindToObjectWithKeyPathOptions(NSString, Id, NSString, NSDictionary)

Establishes a binding between a given property of the receiver and the property of a given object specified by a given key path.

Original signature is '- (void)bind:(NSString *)binding toObject:(id)observableController withKeyPath:(NSString *)keyPath options:(NSDictionary *)options'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
BoldSystemFontOfSize(CGFloat)

Returns the Aqua system font used for standard interface items that are rendered in boldface type in the specified size.

Original signature is '+ (NSFont *)boldSystemFontOfSize:(CGFloat)fontSize'

Available in Mac OS X v10.0 and later.


BoundingRectForFont

Returns the receiver’s bounding rectangle, scaled to the font’s size.

Original signature is '- (NSRect)boundingRectForFont'

Available in Mac OS X v10.0 and later.


BoundingRectForGlyph(UInt32)

Returns the bounding rectangle for the specified glyph, scaled to the receiver’s size.

Original signature is '- (NSRect)boundingRectForGlyph:(NSGlyph)aGlyph'

Available in Mac OS X v10.0 and later.


CapHeight

Returns the receiver’s cap height.

Original signature is '- (CGFloat)capHeight'

Available in Mac OS X v10.0 and later.


CastAs<(Of <<'(T>)>>)()()()()
Try to cast the current instance to the given type. The cast is dynamically tested for safety.
(Inherited from Id.)
CastTo<(Of <<'(T>)>>)()()()()
Cast the current instance to the given type. The cast is dynamically tested for safety.
(Inherited from Id.)
Class

Gets the class of the underlying instance.

(Inherited from Id.)
ClassCode

Returns the receiver's Apple event type code, as stored in the NSScriptClassDescription object for the object’s class.

Original signature is '- (FourCharCode)classCode'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
ClassDescription

Returns an object containing information about the attributes and relationships of the receiver’s class.

Original signature is '- (NSClassDescription *)classDescription'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
ClassForArchiver

Overridden by subclasses to substitute a class other than its own during archiving.

Original signature is '- (Class)classForArchiver'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
ClassForCoder

Overridden by subclasses to substitute a class other than its own during coding.

Original signature is '- (Class)classForCoder'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
ClassForKeyedArchiver

Overridden by subclasses to substitute a new class for instances during keyed archiving.

Original signature is '- (Class)classForKeyedArchiver'

Available in Mac OS X v10.2 and later.

(Inherited from NSObject.)
ClassForPortCoder

Overridden by subclasses to substitute a class other than its own for distribution encoding.

Original signature is '- (Class)classForPortCoder'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
ClassName

Returns a string containing the name of the class.

Original signature is '- (NSString *)className'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
CoerceValueForKey(Id, NSString)

Uses type info from the class description and NSScriptCoercionHandler to attempt to convert value for key to the proper type, if necessary.

Original signature is '- (id)coerceValue:(id)value forKey:(NSString *)key'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
ConformsToProtocol(IntPtr)

Returns a Boolean value that indicates whether the receiver conforms to a given protocol. (required)

Original signature is '- (BOOL)conformsToProtocol:(Protocol *)aProtocol'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
ControlContentFontOfSize(CGFloat)

Returns the font used for the content of controls in the specified size.

Original signature is '+ (NSFont *)controlContentFontOfSize:(CGFloat)fontSize'

Available in Mac OS X v10.0 and later.


Copy()()()()

Returns the object returned by copyWithZone:, where the zone is nil.

Original signature is '- (id)copy'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
CopyScriptingValueForKeyWithProperties(Id, NSString, NSDictionary)

Creates and returns one or more scripting objects to be inserted into the specified relationship by copying the passed-in value and setting the properties in the copied object or objects.

Original signature is '- (id)copyScriptingValue:(id)value forKey:(NSString *)key withProperties:(NSDictionary *)properties'

Available in Mac OS X v10.5 and later.

(Inherited from NSObject.)
CopyWithZone(IntPtr)

Returns a new instance that’s a copy of the receiver. (required)

Original signature is '- (id)copyWithZone:(NSZone *)zone'

Available in Mac OS X v10.0 and later.


CoveredCharacterSet

Returns an NSCharacterSet object containing all of the nominal characters renderable by the receiver, which is all of the entries mapped in the receiver’s ‘cmap’ table.

Original signature is '- (NSCharacterSet *)coveredCharacterSet'

Available in Mac OS X v10.2 and later.


Dealloc()()()()

Deallocates the memory occupied by the receiver.

Original signature is '- (void)dealloc'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
DefaultLineHeightForFont Obsolete.

Returns the default line height for the receiver. (Deprecated in Mac OS X v10.4. Use the NSLayoutManager method defaultLineHeightForFont: instead.)

Original signature is '- (CGFloat)defaultLineHeightForFont'

Available in Mac OS X v10.0 and later.


Descender

Returns the bottom y coordinate, offset from the baseline, of the receiver’s longest descender.

Original signature is '- (CGFloat)descender'

Available in Mac OS X v10.0 and later.


Description

Returns a string that describes the contents of the receiver. (required)

Original signature is '- (NSString *)description'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
DictionaryWithValuesForKeys(NSArray)

Returns a dictionary containing the property values identified by each of the keys in a given array.

Original signature is '- (NSDictionary *)dictionaryWithValuesForKeys:(NSArray *)keys'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
DidChangeValueForKey(NSString)

Invoked to inform the receiver that the value of a given property has changed.

Original signature is '- (void)didChangeValueForKey:(NSString *)key'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
DidChangeValueForKeyWithSetMutationUsingObjects(NSString, NSKeyValueSetMutationKind, NSSet)

Invoked to inform the receiver that the specified change was made to a specified unordered to-many relationship.

Original signature is '- (void)didChangeValueForKey:(NSString *)key withSetMutation:(NSKeyValueSetMutationKind)mutationKind usingObjects:(NSSet *)objects'

Available in Mac OS X v10.4 and later.

(Inherited from NSObject.)
DidChangeValuesAtIndexesForKey(NSKeyValueChange, NSIndexSet, NSString)

Invoked to inform the receiver that the specified change has occurred on the indexes for a specified ordered to-many relationship.

Original signature is '- (void)didChange:(NSKeyValueChange)change valuesAtIndexes:(NSIndexSet *)indexes forKey:(NSString *)key'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
DisplayName

Returns the name, including family and face, used to represent the font in the user interface, typically localized for the user’s language.

Original signature is '- (NSString *)displayName'

Available in Mac OS X v10.0 and later.


Dispose()()()()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from Id.)
Dispose(Boolean)
Releases unmanaged and - optionally - managed resources
(Inherited from Id.)
DoesNotRecognizeSelector(IntPtr)

Handles messages the receiver doesn’t recognize.

Original signature is '- (void)doesNotRecognizeSelector:(SEL)aSelector'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
EncodeWithCoder(NSCoder)

Encodes the receiver using a given archiver. (required)

Original signature is '- (void)encodeWithCoder:(NSCoder *)encoder'

Available in Mac OS X v10.0 and later.


EncodingScheme Obsolete.

Returns the name of the receiver’s encoding scheme. (Deprecated in Mac OS X v10.4. Use mostCompatibleStringEncoding instead.)

Original signature is '- (NSString *)encodingScheme'

Available in Mac OS X v10.0 and later.


Equals(Id)
Indicates whether the current object is equal to another object of the same type.
(Inherited from Id.)
Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Id.)
ExposedBindings

Returns an array containing the bindings exposed by the receiver.

Original signature is '- (NSArray *)exposedBindings'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
FamilyName

Returns the receiver’s family name—for example, “Times” or “Helvetica.”

Original signature is '- (NSString *)familyName'

Available in Mac OS X v10.0 and later.


Finalize()()()()
Releases unmanaged resources and performs other cleanup operations before the Id is reclaimed by garbage collection.
(Inherited from Id.)
FontDescriptor

Returns the receiver’s font descriptor.

Original signature is '- (NSFontDescriptor *)fontDescriptor'

Available in Mac OS X v10.3 and later.


FontName

Returns the receiver’s full font name, as used in PostScript language code—for example, “Times-Roman” or “Helvetica-Oblique.”

Original signature is '- (NSString *)fontName'

Available in Mac OS X v10.0 and later.


FontWithDescriptorSize(NSFontDescriptor, CGFloat)

Returns a font object for the specified font descriptor and font size.

Original signature is '+ (NSFont *)fontWithDescriptor:(NSFontDescriptor *)fontDescriptor size:(CGFloat)fontSize'

Available in Mac OS X v10.4 and later.


FontWithDescriptorTextTransform(NSFontDescriptor, NSAffineTransform)

Returns a font object for the specified font descriptor and text transform.

Original signature is '+ (NSFont *)fontWithDescriptor:(NSFontDescriptor *)fontDescriptor textTransform:(NSAffineTransform *)textTransform'

Available in Mac OS X v10.4 and later.


FontWithNameMatrix(NSString, IntPtr)

Returns a font object for the specified font name and matrix.

Original signature is '+ (NSFont *)fontWithName:(NSString *)fontName matrix:(const CGFloat *)fontMatrix'

Available in Mac OS X v10.0 and later.


FontWithNameSize(NSString, CGFloat)

Creates a font object for the specified font name and font size.

Original signature is '+ (NSFont *)fontWithName:(NSString *)fontName size:(CGFloat)fontSize'

Available in Mac OS X v10.0 and later.


ForwardingTargetForSelector(IntPtr)

Returns the object to which unrecognized messages should first be directed.

Original signature is '- (id)forwardingTargetForSelector:(SEL)aSelector'

Available in Mac OS X v10.6 and later.

(Inherited from NSObject.)
ForwardInvocation(NSInvocation)

Overridden by subclasses to forward messages to other objects.

Original signature is '- (void)forwardInvocation:(NSInvocation *)anInvocation'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
GetAdvancementsForGlyphsCount(IntPtr, IntPtr, NSUInteger)

Returns an array of the advancements for the specified glyphs rendered by the receiver.

Original signature is '- (void)getAdvancements:(NSSizeArray)advancements forGlyphs:(const NSGlyph *)glyphs count:(NSUInteger)glyphCount'

Available in Mac OS X v10.4 and later.


GetAdvancementsForPackedGlyphsLength(IntPtr, IntPtr, NSUInteger)

Returns an array of the advancements for the specified packed glyphs and rendered by the receiver.

Original signature is '- (void)getAdvancements:(NSSizeArray)advancements forPackedGlyphs:(const void *)packedGlyphs length:(NSUInteger)length- (void)getAdvancements'

Available in Mac OS X v10.4 and later.


GetBoundingRectsForGlyphsCount(IntPtr, IntPtr, NSUInteger)

Returns an array of the bounding rectangles for the specified glyphs rendered by the receiver.

Original signature is '- (void)getBoundingRects:(NSRectArray)bounds forGlyphs:(const NSGlyph *)glyphs count:(NSUInteger)glyphCount'

Available in Mac OS X v10.4 and later.


GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Id.)
GetInstanceVariable<(Of <<'(T>)>>)(String)
Gets the instance variable of the specified name.
(Inherited from Id.)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
GlyphIsEncoded(UInt32) Obsolete.

Returns a Boolean value indicating whether the receiver encodes the given glyph. (Deprecated in Mac OS X v10.4. The value can be deduced by aGlyph < [NSFont numberOfGlyphs] since only NSNativeShortGlyphPacking is supported.)

Original signature is '- (BOOL)glyphIsEncoded:(NSGlyph)aGlyph'

Available in Mac OS X v10.0 and later.


GlyphPacking Obsolete.

Returns the best way to encode the receiver’s glyphs into an array of bytes. (Deprecated in Mac OS X v10.4. Only NSNativeShortGlyphPacking is supported.)

Original signature is '- (NSMultibyteGlyphPacking)glyphPacking'

Available in Mac OS X v10.0 and later.


GlyphWithName(NSString)

Returns the named encoded glyph, or –1 if the receiver contains no such glyph.

Original signature is '- (NSGlyph)glyphWithName:(NSString *)glyphName'

Available in Mac OS X v10.0 and later.


Hash

Returns an integer that can be used as a table address in a hash table structure. (required)

Original signature is '- (NSUInteger)hash'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
InfoForBinding(NSString)

Returns a dictionary describing the receiver’s binding.

Original signature is '- (NSDictionary *)infoForBinding:(NSString *)binding'

Available in Mac OS X v10.4 and later.

(Inherited from NSObject.)
Init()()()()

Implemented by subclasses to initialize a new object (the receiver) immediately after memory for it has been allocated.

Original signature is '- (id)init'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
InitWithCoder(NSCoder)

Returns an object initialized from data in a given unarchiver. (required)

Original signature is '- (id)initWithCoder:(NSCoder *)decoder'

Available in Mac OS X v10.0 and later.


InsertValueAtIndexInPropertyWithKey(Id, NSUInteger, NSString)

Inserts an object at the specified index in the collection specified by the passed key.

Original signature is '- (void)insertValue:(id)value atIndex:(NSUInteger)index inPropertyWithKey:(NSString *)key'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
InsertValueInPropertyWithKey(Id, NSString)

Inserts an object in the collection specified by the passed key.

Original signature is '- (void)insertValue:(id)value inPropertyWithKey:(NSString *)key'

Available in Mac OS X v10.2 and later.

(Inherited from NSObject.)
InverseForRelationshipKey(NSString)

For a given key that defines the name of the relationship from the receiver’s class to another class, returns the name of the relationship from the other class to the receiver’s class.

Original signature is '- (NSString *)inverseForRelationshipKey:(NSString *)relationshipKey'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
IsBaseFont Obsolete.

Returns a Boolean value indicating whether the receiver is a PostScript base font. (Deprecated in Mac OS X v10.4. This information is not relevant to Mac OS X.)

Original signature is '- (BOOL)isBaseFont'

Available in Mac OS X v10.0 and later.


IsEqual(Id)

Returns a Boolean value that indicates whether the receiver and a given object are equal. (required)

Original signature is '- (BOOL)isEqual:(id)anObject'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
IsFixedPitch

Returns a Boolean value indicating whether all glyphs in the receiver have the same advancement.

Original signature is '- (BOOL)isFixedPitch'

Available in Mac OS X v10.0 and later.


IsKindOfClass(Class)

Returns a Boolean value that indicates whether the receiver is an instance of given class or an instance of any class that inherits from that class. (required)

Original signature is '- (BOOL)isKindOfClass:(Class)aClass'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
IsMemberOfClass(Class)

Returns a Boolean value that indicates whether the receiver is an instance of a given class. (required)

Original signature is '- (BOOL)isMemberOfClass:(Class)aClass'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
IsProxy

Returns a Boolean value that indicates whether the receiver does not descend from NSObject. (required)

Original signature is '- (BOOL)isProxy'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
ItalicAngle

Returns the receiver’s italic angle, the amount that the font is slanted in degrees counterclockwise from the vertical, as read from its AFM file. Because the slant is measured counterclockwise, English italic fonts typically return a negative value.

Original signature is '- (CGFloat)italicAngle'

Available in Mac OS X v10.0 and later.


LabelFontOfSize(CGFloat)

Returns the Aqua font used for standard interface labels in the specified size.

Original signature is '+ (NSFont *)labelFontOfSize:(CGFloat)fontSize'

Available in Mac OS X v10.0 and later.


LabelFontSize

Returns the size of the standard label font.

Original signature is '+ (CGFloat)labelFontSize'

Available in Mac OS X v10.0 and later.


Leading

Returns the receiver’s leading.

Original signature is '- (CGFloat)leading'

Available in Mac OS X v10.4 and later.


Matrix

Returns the receiver’s font matrix, a standard six-element transformation matrix as used in the PostScript language, specifically with the makefont operator.

Original signature is '- (const CGFloat *)matrix'

Available in Mac OS X v10.0 and later.


MaximumAdvancement

Returns the greatest advancement of any of the receiver’s glyphs.

Original signature is '- (NSSize)maximumAdvancement'

Available in Mac OS X v10.0 and later.


MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
MenuBarFontOfSize(CGFloat)

Returns the font used for menu bar items, in the specified size.

Original signature is '+ (NSFont *)menuBarFontOfSize:(CGFloat)fontSize'

Available in Mac OS X v10.3 and later.


MenuFontOfSize(CGFloat)

Returns the font used for menu items, in the specified size.

Original signature is '+ (NSFont *)menuFontOfSize:(CGFloat)fontSize'

Available in Mac OS X v10.0 and later.


MessageFontOfSize(CGFloat)

Returns the font used for standard interface items, such as button labels, menu items, and so on, in the specified size.

Original signature is '+ (NSFont *)messageFontOfSize:(CGFloat)fontSize'

Available in Mac OS X v10.0 and later.


MethodForSelector(IntPtr)

Locates and returns the address of the receiver’s implementation of a method so it can be called as a function.

Original signature is '- (IMP)methodForSelector:(SEL)aSelector'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
MethodSignatureForSelector(IntPtr)

Returns an NSMethodSignature object that contains a description of the method identified by a given selector.

Original signature is '- (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
MostCompatibleStringEncoding

Returns the string encoding that works best with the receiver, where there are the fewest possible unmatched characters in the string encoding and glyphs in the font.

Original signature is '- (NSStringEncoding)mostCompatibleStringEncoding'

Available in Mac OS X v10.0 and later.


MutableArrayValueForKey(NSString)

Returns a mutable array proxy that provides read-write access to an ordered to-many relationship specified by a given key.

Original signature is '- (NSMutableArray *)mutableArrayValueForKey:(NSString *)key'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
MutableArrayValueForKeyPath(NSString)

Returns a mutable array that provides read-write access to the ordered to-many relationship specified by a given key path.

Original signature is '- (NSMutableArray *)mutableArrayValueForKeyPath:(NSString *)keyPath'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
MutableCopy()()()()

Returns the object returned by mutableCopyWithZone: where the zone is nil.

Original signature is '- (id)mutableCopy'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
MutableSetValueForKey(NSString)

Returns a mutable set proxy that provides read-write access to the unordered to-many relationship specified by a given key.

Original signature is '- (NSMutableSet *)mutableSetValueForKey:(NSString *)key'

Available in Mac OS X v10.4 and later.

(Inherited from NSObject.)
MutableSetValueForKeyPath(NSString)

Returns a mutable set that provides read-write access to the unordered to-many relationship specified by a given key path.

Original signature is '- (NSMutableSet *)mutableSetValueForKeyPath:(NSString *)keyPath'

Available in Mac OS X v10.4 and later.

(Inherited from NSObject.)
NativePointer
Gets or sets the native pointer.
(Inherited from Id.)
NewScriptingObjectOfClassForValueForKeyWithContentsValueProperties(Class, NSString, Id, NSDictionary)

Creates and returns an instance of a scriptable class, setting its contents and properties, for insertion into the relationship identified by the key.

Original signature is '- (id)newScriptingObjectOfClass:(Class)class forValueForKey:(NSString *)key withContentsValue:(id)contentsValue properties:(NSDictionary *)properties'

Available in Mac OS X v10.5 and later.

(Inherited from NSObject.)
NSAFMAscender

Font ascender height key. (Deprecated. Use ascender instead.)

Available in Mac OS X v10.0 and later.


NSAFMCapHeight

Font cap-height key. (Deprecated. Use capHeight instead.)

Available in Mac OS X v10.0 and later.


NSAFMCharacterSet

Font character set key. (Deprecated. Use coveredCharacterSet instead.)

Available in Mac OS X v10.0 and later.


NSAFMDescender

Font descender depth key. (Deprecated. Use descender instead.)

Available in Mac OS X v10.0 and later.


NSAFMEncodingScheme

Font encoding scheme key. (Deprecated. Use mostCompatibleStringEncoding instead.)

Available in Mac OS X v10.0 and later.


NSAFMFamilyName

Font family name key. (Deprecated. Use familyName instead.)

Available in Mac OS X v10.0 and later.


NSAFMFontName

Font name key. (Deprecated. Use displayName instead.)

Available in Mac OS X v10.0 and later.


NSAFMFormatVersion

Format version name key. (Deprecated. This information is not relevant to Mac OS X.)

Available in Mac OS X v10.0 and later.


NSAFMFullName

Full font name key. (Deprecated. Use fontName instead.)

Available in Mac OS X v10.0 and later.


NSAFMItalicAngle

Font italic angle key. (Deprecated. Use italicAngle instead.)

Available in Mac OS X v10.0 and later.


NSAFMMappingScheme

Font mapping scheme key. (Deprecated. This information is irrelevant to Mac OS X.)

Available in Mac OS X v10.0 and later.


NSAFMNotice

Font notice key. (Deprecated. Use Apple Type Services instead.)

Available in Mac OS X v10.0 and later.


NSAFMUnderlinePosition

Font underline rule position key. (Deprecated. Use underlinePosition instead.)

Available in Mac OS X v10.0 and later.


NSAFMUnderlineThickness

Font underline rule thickness key. (Deprecated. Use underlineThickness instead.)

Available in Mac OS X v10.0 and later.


NSAFMVersion

Font version key. (Deprecated. Use Apple Type Services instead.)

Available in Mac OS X v10.0 and later.


NSAFMWeight

Font weight key. (Deprecated. Use the NSFontManager method weightOfFont: instead.)

Available in Mac OS X v10.0 and later.


NSAFMXHeight

Font x-height key. (Deprecated. Use xHeight instead.)

Available in Mac OS X v10.0 and later.


NSAntialiasThresholdChangedNotification

Posted after the threshold for anti-aliasing changes.

Available in Mac OS X v10.4 and later.


NSFontClass
Static field for a quick access to the NSFont class.

NSFontIdentityMatrix

A transformation matrix useful as a parameter to fontWithDescriptor:size:.

Available in Mac OS X v10.0 and later.


NSFontSetChangedNotification

Posted after the the currently-set font changes.

Available in Mac OS X v10.4 and later.


NumberOfGlyphs

Returns the number of glyphs in the receiver.

Original signature is '- (NSUInteger)numberOfGlyphs'

Available in Mac OS X v10.0 and later.


ObservationInfo

Returns a pointer that identifies information about all of the observers that are registered with the receiver.

Original signature is '- (void *)observationInfo'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
ObserveValueForKeyPathOfObjectChangeContext(NSString, Id, NSDictionary, IntPtr)

This message is sent to the receiver when the value at the specified key path relative to the given object has changed.

Original signature is '- (void)observeValueForKeyPath:(NSString *)keyPath ofObject:(id)object change:(NSDictionary *)change context:(void *)context'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
OptionDescriptionsForBinding(NSString)

Returns an array describing the options for the specified binding.

Original signature is '- (NSArray *)optionDescriptionsForBinding:(NSString *)binding'

Available in Mac OS X v10.5 and later.

(Inherited from NSObject.)
PaletteFontOfSize(CGFloat)

Returns the font used for palette window title bars, in the specified size.

Original signature is '+ (NSFont *)paletteFontOfSize:(CGFloat)fontSize'

Available in Mac OS X v10.0 and later.


PerformSelector(IntPtr)

Sends a specified message to the receiver and returns the result of the message. (required)

Original signature is '- (id)performSelector:(SEL)aSelector'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
PerformSelectorInBackgroundWithObject(IntPtr, Id)

Invokes a method of the receiver on a new background thread.

Original signature is '- (void)performSelectorInBackground:(SEL)aSelector withObject:(id)arg'

Available in Mac OS X v10.5 and later.

(Inherited from NSObject.)
PerformSelectorOnMainThreadWithObjectWaitUntilDone(IntPtr, Id, Boolean)

Invokes a method of the receiver on the main thread using the default mode.

Original signature is '- (void)performSelectorOnMainThread:(SEL)aSelector withObject:(id)arg waitUntilDone:(BOOL)wait'

Available in Mac OS X v10.2 and later.

(Inherited from NSObject.)
PerformSelectorOnMainThreadWithObjectWaitUntilDoneModes(IntPtr, Id, Boolean, NSArray)

Invokes a method of the receiver on the main thread using the specified modes.

Original signature is '- (void)performSelectorOnMainThread:(SEL)aSelector withObject:(id)arg waitUntilDone:(BOOL)wait modes:(NSArray *)array'

Available in Mac OS X v10.2 and later.

(Inherited from NSObject.)
PerformSelectorOnThreadWithObjectWaitUntilDone(IntPtr, NSThread, Id, Boolean)

Invokes a method of the receiver on the specified thread using the default mode.

Original signature is '- (void)performSelector:(SEL)aSelector onThread:(NSThread *)thr withObject:(id)arg waitUntilDone:(BOOL)wait'

Available in Mac OS X v10.5 and later.

(Inherited from NSObject.)
PerformSelectorOnThreadWithObjectWaitUntilDoneModes(IntPtr, NSThread, Id, Boolean, NSArray)

Invokes a method of the receiver on the specified thread using the specified modes.

Original signature is '- (void)performSelector:(SEL)aSelector onThread:(NSThread *)thr withObject:(id)arg waitUntilDone:(BOOL)wait modes:(NSArray *)array'

Available in Mac OS X v10.5 and later.

(Inherited from NSObject.)
PerformSelectorWithObject(IntPtr, Id)

Sends a message to the receiver with an object as the argument. (required)

Original signature is '- (id)performSelector:(SEL)aSelector withObject:(id)anObject'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
PerformSelectorWithObjectAfterDelay(IntPtr, Id, Double)

Invokes a method of the receiver on the current thread using the default mode after a delay.

Original signature is '- (void)performSelector:(SEL)aSelector withObject:(id)anArgument afterDelay:(NSTimeInterval)delay'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
PerformSelectorWithObjectAfterDelayInModes(IntPtr, Id, Double, NSArray)

Invokes a method of the receiver on the current thread using the specified modes after a delay.

Original signature is '- (void)performSelector:(SEL)aSelector withObject:(id)anArgument afterDelay:(NSTimeInterval)delay inModes:(NSArray *)modes'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
PerformSelectorWithObjectWithObject(IntPtr, Id, Id)

Sends a message to the receiver with two objects as arguments. (required)

Original signature is '- (id)performSelector:(SEL)aSelector withObject:(id)anObject withObject:(id)anotherObject'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
PointSize

Returns the receiver’s point size, or the effective vertical point size for a font with a nonstandard matrix.

Original signature is '- (CGFloat)pointSize'

Available in Mac OS X v10.0 and later.


PositionOfGlyphForCharacterStruckOverRect(UInt32, Char, NSRect) Obsolete.

Calculates and returns a suitable location for the given glyph to be drawn. (Deprecated in Mac OS X v10.4. Context-sensitive interglyph spacing is now performed at the typesetting stage.)

Original signature is '- (NSPoint)positionOfGlyph:(NSGlyph)aGlyph forCharacter:(unichar)aChar struckOverRect:(NSRect)aRect'

Available in Mac OS X v10.0 and later.


PositionOfGlyphPrecededByGlyphIsNominal(UInt32, UInt32, Boolean%) Obsolete.

Calculates and returns the location of a glyph. (Deprecated in Mac OS X v10.4. Context-sensitive interglyph spacing is now performed at the typesetting stage.)

Original signature is '- (NSPoint)positionOfGlyph:(NSGlyph)aGlyph precededByGlyph:(NSGlyph)prevGlyph isNominal:(BOOL *)flag'

Available in Mac OS X v10.0 and later.


PositionOfGlyphStruckOverGlyphMetricsExist(UInt32, UInt32, Boolean%) Obsolete.

Calculates and returns a suitable location for the given glyph to be drawn. (Deprecated in Mac OS X v10.4. Context-sensitive interglyph spacing is now performed at the typesetting stage.)

Original signature is '- (NSPoint)positionOfGlyph:(NSGlyph)aGlyph struckOverGlyph:(NSGlyph)baseGlyph metricsExist:(BOOL *)flag'

Available in Mac OS X v10.0 and later.


PositionOfGlyphStruckOverRectMetricsExist(UInt32, NSRect, Boolean%) Obsolete.

Overridden by subclasses to calculate and return a suitable location for a glyph to be drawn. (Deprecated in Mac OS X v10.4. Context-sensitive interglyph spacing is now performed at the typesetting stage.)

Original signature is '- (NSPoint)positionOfGlyph:(NSGlyph)aGlyph struckOverRect:(NSRect)aRect metricsExist:(BOOL *)flag'

Available in Mac OS X v10.0 and later.


PositionOfGlyphWithRelationToBaseGlyphTotalAdvancementMetricsExist(UInt32, NSGlyphRelation, UInt32, NSSize%, Boolean%) Obsolete.

Calculates and returns a suitable location for a glyph to be drawn. (Deprecated in Mac OS X v10.4. Context-sensitive interglyph spacing is now performed at the typesetting stage.)

Original signature is '- (NSPoint)positionOfGlyph:(NSGlyph)aGlyph withRelation:(NSGlyphRelation)relation toBaseGlyph:(NSGlyph)baseGlyph totalAdvancement:(NSSizePointer)offset metricsExist:(BOOL *)flag'

Available in Mac OS X v10.0 and later.


PositionsForCompositeSequenceNumberOfGlyphsPointArray(IntPtr, NSInteger, IntPtr) Obsolete.

Calculates glyph locations. (Deprecated in Mac OS X v10.4. Context-sensitive interglyph spacing is now performed at the typesetting stage.)

Original signature is '- (NSInteger)positionsForCompositeSequence:(NSGlyph *)glyphs numberOfGlyphs:(NSInteger)numGlyphs pointArray:(NSPointArray)points'

Available in Mac OS X v10.0 and later.


PreferredFontNames Obsolete.

Returns the names of fonts that the Application Kit tries first when a character has no font specified. (Deprecated in Mac OS X v10.4. The NSFontDescriptor constant NSFontCascadeListAttribute offers more powerful font substitution management.)

Original signature is '+ (NSArray *)preferredFontNames'

Available in Mac OS X v10.0 and later.


PrinterFont

Returns the scalable PostScript font corresponding to itself.

Original signature is '- (NSFont *)printerFont'

Available in Mac OS X v10.0 and later.


Release()()()()

Decrements the receiver�s reference count.

Original signature is '- (oneway void)release'

Available in Mac OS X v10.0 and later.

(Inherited from Id.)
RemoveObserverForKeyPath(NSObject, NSString)

Stops a given object from receiving change notifications for the property specified by a given key-path relative to the receiver.

Original signature is '- (void)removeObserver:(NSObject *)anObserver forKeyPath:(NSString *)keyPath'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
RemoveValueAtIndexFromPropertyWithKey(NSUInteger, NSString)

Removes the object at the specified index from the collection specified by the passed key.

Original signature is '- (void)removeValueAtIndex:(NSUInteger)index fromPropertyWithKey:(NSString *)key'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
RenderingMode

Returns the rendering mode of the receiver.

Original signature is '- (NSFontRenderingMode)renderingMode'

Available in Mac OS X v10.4 and later.


ReplacementObjectForArchiver(NSArchiver)

Overridden by subclasses to substitute another object for itself during archiving.

Original signature is '- (id)replacementObjectForArchiver:(NSArchiver *)anArchiver'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
ReplacementObjectForCoder(NSCoder)

Overridden by subclasses to substitute another object for itself during encoding.

Original signature is '- (id)replacementObjectForCoder:(NSCoder *)aCoder'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
ReplacementObjectForKeyedArchiver(NSKeyedArchiver)

Overridden by subclasses to substitute another object for itself during keyed archiving.

Original signature is '- (id)replacementObjectForKeyedArchiver:(NSKeyedArchiver *)archiver'

Available in Mac OS X v10.2 and later.

(Inherited from NSObject.)
ReplacementObjectForPortCoder(NSPortCoder)

Overridden by subclasses to substitute another object or a copy for itself during distribution encoding.

Original signature is '- (id)replacementObjectForPortCoder:(NSPortCoder *)aCoder'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
ReplaceValueAtIndexInPropertyWithKeyWithValue(NSUInteger, NSString, Id)

Replaces the object at the specified index in the collection specified by the passed key.

Original signature is '- (void)replaceValueAtIndex:(NSUInteger)index inPropertyWithKey:(NSString *)key withValue:(id)value'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
RespondsToSelector(IntPtr)

Returns a Boolean value that indicates whether the receiver implements or inherits a method that can respond to a specified message. (required)

Original signature is '- (BOOL)respondsToSelector:(SEL)aSelector'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
RespondsToSelector(String)

Returns a Boolean value that indicates whether the receiver implements or inherits a method that can respond to a specified message.

Original signature is '- (BOOL)respondsToSelector:(SEL)aSelector'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
Retain()()()()

Increments the receiver�s reference count.

Original signature is '- (id)retain'

Available in Mac OS X v10.0 and later.

(Inherited from Id.)
RetainCount

Returns the receiver’s reference count. (required)

Original signature is '- (NSUInteger)retainCount'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
SafeCastAs<(Of <<'(TInstance>)>>)(Id)
Try to cast the current instance to the given type. The cast is dynamically tested for safety.
(Inherited from IdExtensions.)
SafeCastTo<(Of <<'(TInstance>)>>)(Id)
Cast the current instance to the given type. the cast is dynamically tested for safety
(Inherited from IdExtensions.)
SafeRelease(Id)

Performs a safe release operation on the given instance.

The equivalent code is:

CopyC#
if (instance != null) instance.Release();
(Inherited from IdExtensions.)
ScreenFont

Returns the bitmapped screen font corresponding to itself.

Original signature is '- (NSFont *)screenFont'

Available in Mac OS X v10.0 and later.


ScreenFontWithRenderingMode(NSFontRenderingMode)

Returns a bitmapped screen font, when sent to a font object representing a scalable PostScript font, with the specified rendering mode, matching the receiver in typeface and matrix (or size), or nil if such a font can’t be found.

Original signature is '- (NSFont *)screenFontWithRenderingMode:(NSFontRenderingMode)renderingMode'

Available in Mac OS X v10.4 and later.


ScriptingProperties

Returns an NSString-keyed dictionary of the receiver's scriptable properties.

Original signature is '- (NSDictionary *)scriptingProperties'

Available in Mac OS X v10.2 and later.

(Inherited from NSObject.)
ScriptingValueForSpecifier(NSScriptObjectSpecifier)

Given an object specifier, returns the specified object or objects in the receiving container.

Original signature is '- (id)scriptingValueForSpecifier:(NSScriptObjectSpecifier *)objectSpecifier'

Available in Mac OS X v10.5 and later.

(Inherited from NSObject.)
Self

Returns the receiver. (required)

Original signature is '- (id)self'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
SendMessage(String, array<Object>[]()[][])
Sends a message to this receiver (either a Class or an object instance).
(Inherited from Id.)
SendMessageSuper(Class, String, array<Object>[]()[][])

Sends a message to the super instance of this receiver.

(Inherited from Id.)
SendMessageSuperVarArgs(Class, String, array<Object>[]()[][])

Sends a message to the super instance of this receiver.

The last parameter passed must be an object array that contains the variable list of arguments

(Inherited from Id.)
SendMessageVarArgs(String, array<Object>[]()[][])

Sends a message to this receiver (either a Class or an object instance).

The last parameter passed must be an object array that contains the variable list of arguments

(Inherited from Id.)
Set()()()()

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

Original signature is '- (void)set'

Available in Mac OS X v10.0 and later.


SetInContext(NSGraphicsContext)

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.


SetInstanceVariable<(Of <<'(T>)>>)(String, T)
Sets the instance variable of the specified name.
(Inherited from Id.)
SetNilValueForKey(NSString)

Invoked by setValue:forKey: when it’s given a nil value for a scalar value (such as an int or float).

Original signature is '- (void)setNilValueForKey:(NSString *)key'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
SetUserFixedPitchFont(NSFont)

Sets the font used by default for documents and other text under the user’s control, when that font should be fixed-pitch, to the specified font.

Original signature is '+ (void)setUserFixedPitchFont:(NSFont *)aFont'

Available in Mac OS X v10.0 and later.


SetUserFont(NSFont)

Sets the font used by default for documents and other text under the user’s control to the specified font.

Original signature is '+ (void)setUserFont:(NSFont *)aFont'

Available in Mac OS X v10.0 and later.


SetValueForKey(Id, NSString)

Sets the property of the receiver specified by a given key to a given value.

Original signature is '- (void)setValue:(id)value forKey:(NSString *)key'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
SetValueForKey(String, String)

Sets the property of the receiver specified by a given key to a given value.

Original signature is '- (void)setValue:(id)value forKey:(NSString *)key'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
SetValueForKey(Int16, String)

Sets the property of the receiver specified by a given key to a given value.

Original signature is '- (void)setValue:(id)value forKey:(NSString *)key'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
SetValueForKey(Int64, String)

Sets the property of the receiver specified by a given key to a given value.

Original signature is '- (void)setValue:(id)value forKey:(NSString *)key'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
SetValueForKey(Int32, String)

Sets the property of the receiver specified by a given key to a given value.

Original signature is '- (void)setValue:(id)value forKey:(NSString *)key'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
SetValueForKey(Single, String)

Sets the property of the receiver specified by a given key to a given value.

Original signature is '- (void)setValue:(id)value forKey:(NSString *)key'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
SetValueForKey(Double, String)

Sets the property of the receiver specified by a given key to a given value.

Original signature is '- (void)setValue:(id)value forKey:(NSString *)key'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
SetValueForKey(Char, String)

Sets the property of the receiver specified by a given key to a given value.

Original signature is '- (void)setValue:(id)value forKey:(NSString *)key'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
SetValueForKey(Boolean, String)

Sets the property of the receiver specified by a given key to a given value.

Original signature is '- (void)setValue:(id)value forKey:(NSString *)key'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
SetValueForKeyPath(Id, NSString)

Sets the value for the property identified by a given key path to a given value.

Original signature is '- (void)setValue:(id)value forKeyPath:(NSString *)keyPath'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
SetValueForUndefinedKey(Id, NSString)

Invoked by setValue:forKey: when it finds no property for a given key.

Original signature is '- (void)setValue:(id)value forUndefinedKey:(NSString *)key'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
SetValuesForKeysWithDictionary(NSDictionary)

Sets properties of the receiver with values from a given dictionary, using its keys to identify the properties.

Original signature is '- (void)setValuesForKeysWithDictionary:(NSDictionary *)keyedValues'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
SmallSystemFontSize

Returns the size of the standard small system font.

Original signature is '+ (CGFloat)smallSystemFontSize'

Available in Mac OS X v10.0 and later.


Superclass

Returns the class object for the receiver’s superclass. (required)

Original signature is '- (Class)superclass'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
SystemFontOfSize(CGFloat)

Returns the Aqua system font used for standard interface items, such as button labels, menu items, and so on, in the specified size.

Original signature is '+ (NSFont *)systemFontOfSize:(CGFloat)fontSize'

Available in Mac OS X v10.0 and later.


SystemFontSize

Returns the size of the standard system font.

Original signature is '+ (CGFloat)systemFontSize'

Available in Mac OS X v10.0 and later.


SystemFontSizeForControlSize(NSControlSize)

Returns the font size used for the specified control size.

Original signature is '+ (CGFloat)systemFontSizeForControlSize:(NSControlSize)controlSize'

Available in Mac OS X v10.3 and later.


TextTransform

Returns the current transformation matrix for the receiver.

Original signature is '- (NSAffineTransform *)textTransform'

Available in Mac OS X v10.4 and later.


TitleBarFontOfSize(CGFloat)

Returns the font used for window title bars, in the specified size.

Original signature is '+ (NSFont *)titleBarFontOfSize:(CGFloat)fontSize'

Available in Mac OS X v10.0 and later.


ToManyRelationshipKeys

Returns array containing the keys for the to-many relationship properties of the receiver.

Original signature is '- (NSArray *)toManyRelationshipKeys'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
ToolTipsFontOfSize(CGFloat)

Returns the font used for tool tips labels, in the specified size.

Original signature is '+ (NSFont *)toolTipsFontOfSize:(CGFloat)fontSize'

Available in Mac OS X v10.0 and later.


ToOneRelationshipKeys

Returns the keys for the to-one relationship properties of the receiver, if any.

Original signature is '- (NSArray *)toOneRelationshipKeys'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
ToString()()()()
Returns a String that represents this instance.
(Inherited from NSObject.)
Unbind(NSString)

Removes a given binding between the receiver and a controller.

Original signature is '- (void)unbind:(NSString *)binding'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
UnderlinePosition

Returns the baseline offset that should be used when drawing underlines with the receiver, as determined by the font’s AFM file.

Original signature is '- (CGFloat)underlinePosition'

Available in Mac OS X v10.0 and later.


UnderlineThickness

Returns the thickness that should be used when drawing underlines with the receiver, as determined by the font’s AFM file.

Original signature is '- (CGFloat)underlineThickness'

Available in Mac OS X v10.0 and later.


UseFont(NSString) Obsolete.

Records the given font name as one used in the current print operation. (Deprecated in Mac OS X v10.4. This is now automatically handled by Quartz.)

Original signature is '+ (void)useFont:(NSString *)fontName'

Available in Mac OS X v10.0 and later.


UserFixedPitchFontOfSize(CGFloat)

Returns the font used by default for documents and other text under the user’s control (that is, text whose font the user can normally change), when that font should be fixed-pitch, in the specified size.

Original signature is '+ (NSFont *)userFixedPitchFontOfSize:(CGFloat)fontSize'

Available in Mac OS X v10.0 and later.


UserFontOfSize(CGFloat)

Returns the font used by default for documents and other text under the user’s control (that is, text whose font the user can normally change), in the specified size.

Original signature is '+ (NSFont *)userFontOfSize:(CGFloat)fontSize'

Available in Mac OS X v10.0 and later.


ValidateValueForKeyError(Id%, NSString, NSError%)

Returns a Boolean value that indicates whether the value specified by a given pointer is valid for the property identified by a given key.

Original signature is '- (BOOL)validateValue:(id *)ioValue forKey:(NSString *)key error:(NSError **)outError'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
ValidateValueForKeyPathError(Id%, NSString, NSError%)

Returns a Boolean value that indicates whether the value specified by a given pointer is valid for a given key path relative to the receiver.

Original signature is '- (BOOL)validateValue:(id *)ioValue forKeyPath:(NSString *)inKeyPath error:(NSError **)outError'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
ValueAtIndexInPropertyWithKey(NSUInteger, NSString)

Retrieves an indexed object from the collection specified by the passed key.

Original signature is '- (id)valueAtIndex:(NSUInteger)index inPropertyWithKey:(NSString *)key'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
ValueClassForBinding(NSString)

Returns the class of the value that will be returned for the specified binding.

Original signature is '- (Class)valueClassForBinding:(NSString *)binding'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
ValueForKey(NSString)

Returns the value for the property identified by a given key.

Original signature is '- (id)valueForKey:(NSString *)key'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
ValueForKeyPath(NSString)

Returns the value for the derived property identified by a given key path.

Original signature is '- (id)valueForKeyPath:(NSString *)keyPath'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
ValueForUndefinedKey(NSString)

Invoked by valueForKey: when it finds no property corresponding to a given key.

Original signature is '- (id)valueForUndefinedKey:(NSString *)key'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
ValueWithNameInPropertyWithKey(NSString, NSString)

Retrieves a named object from the collection specified by the passed key.

Original signature is '- (id)valueWithName:(NSString *)name inPropertyWithKey:(NSString *)key'

Available in Mac OS X v10.2 and later.

(Inherited from NSObject.)
ValueWithUniqueIDInPropertyWithKey(Id, NSString)

Retrieves an object by ID from the collection specified by the passed key.

Original signature is '- (id)valueWithUniqueID:(id)uniqueID inPropertyWithKey:(NSString *)key'

Available in Mac OS X v10.2 and later.

(Inherited from NSObject.)
WidthOfString(NSString) Obsolete.

Returns the x-axis offset of the current point when the specified string is drawn with a show operator in the receiving font. (Deprecated in Mac OS X v10.4. Use the Application Kit string-drawing methods, as described in NSString Additions.)

Original signature is '- (CGFloat)widthOfString:(NSString *)aString'

Available in Mac OS X v10.0 and later.


WillChangeValueForKey(NSString)

Invoked to inform the receiver that the value of a given property is about to change.

Original signature is '- (void)willChangeValueForKey:(NSString *)key'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
WillChangeValueForKeyWithSetMutationUsingObjects(NSString, NSKeyValueSetMutationKind, NSSet)

Invoked to inform the receiver that the specified change is about to be made to a specified unordered to-many relationship.

Original signature is '- (void)willChangeValueForKey:(NSString *)key withSetMutation:(NSKeyValueSetMutationKind)mutationKind usingObjects:(NSSet *)objects'

Available in Mac OS X v10.4 and later.

(Inherited from NSObject.)
WillChangeValuesAtIndexesForKey(NSKeyValueChange, NSIndexSet, NSString)

Invoked to inform the receiver that the specified change is about to be executed at given indexes for a specified ordered to-many relationship.

Original signature is '- (void)willChange:(NSKeyValueChange)change valuesAtIndexes:(NSIndexSet *)indexes forKey:(NSString *)key'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
XHeight

Returns the x-height of the receiver.

Original signature is '- (CGFloat)xHeight'

Available in Mac OS X v10.0 and later.


Zone

Returns a pointer to the zone from which the receiver was allocated. (required)

Original signature is '- (NSZone *)zone'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
Inheritance Hierarchy
Object
Id
 NSObject
  NSFont
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)