XpsFont Class
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 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.