Share via


SPFont members

Represents a font scheme as described in an SPFont XML file. Describes font family slots and font size slots

The SPFont type exposes the following members.

Properties

  Name Description
Public property FontSlots
Public property Name
Public property PreviewSlot1
Public property PreviewSlot2
Public property ServerRelativeUrl

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetFont Gets the ThemeFont for a given font slot.
Public methodStatic member GetFontSchemesFromFolder
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public methodStatic member Open(SPFile)
Public methodStatic member Open(SPFile, Boolean) Opens an SPFont file object from the given SPFile
Public method ToString (Inherited from Object.)

Top

See also

Reference

SPFont class

Microsoft.SharePoint.Utilities namespace