XpsFont Class
Represents a font in an XpsDocument.
Assembly: ReachFramework (in ReachFramework.dll)
The XpsFont class has no public constructor.
Use the AddFont method to add a font and obtain a reference to it in a new document.
Use the GetFont method to obtain a font reference in an existing document.
Based on settings of XpsSerializationManager and XpsPackagingPolicy, such as FontSubsetterCommitPolicies and PackageInterleavingOrder, the flush operation of the Commit method of the XpsFont class may be delayed until the whole XpsDocument is closed.
The following example shows how to add fonts to an XpsDocument.
For the complete sample, see Creating an XPS Document Sample.
System.Windows.Xps.Packaging.XpsPartBase
System.Windows.Xps.Packaging.XpsResource
System.Windows.Xps.Packaging.XpsFont
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.