NSFontManager.ConvertFont NSFontManager.ConvertFont Method

Definition

Overloads

ConvertFont(NSFont) ConvertFont(NSFont)
ConvertFont(NSFont, NSFontTraitMask) ConvertFont(NSFont, NSFontTraitMask)
ConvertFont(NSFont, nfloat) ConvertFont(NSFont, nfloat)
ConvertFont(NSFont, String) ConvertFont(NSFont, String)

ConvertFont(NSFont) ConvertFont(NSFont)

[Foundation.Export("convertFont:")]
public virtual AppKit.NSFont ConvertFont (AppKit.NSFont fontObj);
abstract member ConvertFont : AppKit.NSFont -> AppKit.NSFont
override this.ConvertFont : AppKit.NSFont -> AppKit.NSFont

Parameters

fontObj
NSFont NSFont

Returns

ConvertFont(NSFont, NSFontTraitMask) ConvertFont(NSFont, NSFontTraitMask)

[Foundation.Export("convertFont:toHaveTrait:")]
public virtual AppKit.NSFont ConvertFont (AppKit.NSFont fontObj, AppKit.NSFontTraitMask trait);
abstract member ConvertFont : AppKit.NSFont * AppKit.NSFontTraitMask -> AppKit.NSFont
override this.ConvertFont : AppKit.NSFont * AppKit.NSFontTraitMask -> AppKit.NSFont

Parameters

fontObj
NSFont NSFont

Returns

ConvertFont(NSFont, nfloat) ConvertFont(NSFont, nfloat)

[Foundation.Export("convertFont:toSize:")]
public virtual AppKit.NSFont ConvertFont (AppKit.NSFont fontObj, nfloat size);
abstract member ConvertFont : AppKit.NSFont * nfloat -> AppKit.NSFont
override this.ConvertFont : AppKit.NSFont * nfloat -> AppKit.NSFont

Parameters

fontObj
NSFont NSFont
size
nfloat nfloat

Returns

ConvertFont(NSFont, String) ConvertFont(NSFont, String)

[Foundation.Export("convertFont:toFace:")]
public virtual AppKit.NSFont ConvertFont (AppKit.NSFont fontObj, string typeface);
abstract member ConvertFont : AppKit.NSFont * string -> AppKit.NSFont
override this.ConvertFont : AppKit.NSFont * string -> AppKit.NSFont

Parameters

fontObj
NSFont NSFont
typeface
String String

Returns

Applies to